Try PCF on your Local Workstation with PCF Dev

A tutorial for learning Pivotal Cloud Foundry app development concepts with PCF Dev


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:

  • Timestamp
  • Log type
  • Channel
  • Message
cf CLI log fields

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.