O'Reilly logo

Heroku Cloud Application Development by Anubhav Hanjura

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Your window to the running app – the logs

Logs are files on your disk (or data in memory) that apps write to when executing. Writing logfiles is enabled by the use of various logging frameworks in your application (for example, log4j for Java) and also the operating system's own system logs that track various system events. Databases, queuing systems, and pretty much every component of the app has logs. Anything your application writes to the standard error or output stream is usually captured in application logs.

Logging is arguably the most widely known resource for troubleshooting applications in any deployment. Logs are more often than not the first and most critical resource used to understand the status of the application when it crashes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required