View the Logs
PCF provides access to an aggregated view of logs related to you 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
View a snapshot of recent logs:
cf logs spring-music --recent
Or, stream live logs:
cf logs spring-music
Reload the app page to see activity. Press Control C to stop streaming.