View the Logs
View a snapshot of recent logs:
cf logs cf-demo --recent
Or, stream live logs:
cf logs cf-demo
PCF provides access to an aggregated view of logs related to your application. This includes HTTP access logs, as well as output from app operations such as scaling, restarting, and restaging.
Every log line contains four fields:
- Log type
Press Control C to stop streaming.