Database Reference
In-Depth Information
Chapter 7. Understanding Log Statements
and Common Errors
Logs are important tools to discover problems and failures in your applications. Through
logs, it is possible to identify the causes and find appropriate solutions. Heroku Postgres
provides all logs generated by your databases.
The main component in the Heroku structure is the Logplex. It collects logs from different
sources and provides them in a single channel so that you can analyze them and take appro-
priate actions in real time.
In this chapter, you will learn how to view logs. You will understand the most common er-
rors and also learn how to collect metrics from the logs.
This chapter will cover:
• Log statements
• Common errors
• Metrics logs
Search WWH ::




Custom Search