Try PCF on the Public Cloud

15-minute tutorial for learning Pivotal Cloud Foundry app deployment concepts

View the Logs

View a snapshot of recent logs:

cf logs cf-spring --recent

Or, stream live logs:

cf logs cf-spring

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:

  • Timestamp
  • Log type
  • Channel
  • Message

cf CLI log fields

Press Control C to stop streaming.