Gabrielle Roth: Logging Not Just for Lumberjacks

We'll walk through the various logging configuration options PostgreSQL offers to help you figure out how to get what you need in a format that's useful to you. Logging is an important part of your database monitoring suite, providing historical information for troubleshooting and forensic purposes: which user logged in when, what queries they ran and how long they took, when the database restarted. PostgreSQL offers different file format, message format, and message content options for logging. These options can be kind of overwhelming for the first-time user. We'll walk through the various configuration parameters to help you figure out how to get what you need in a format that's useful to you. (We'll even talk a bit about how to do this on Windows.) Then we'll discuss some solutions for extracting information from your logs. This is an updated version of the talk I gave at pgOpen last year. It's best for people who haven't played around with logging (much) yet, but know where their postgresql.conf is.
Length: 42:42
Views 83 Likes: 0
Recorded on 2012-09-17 at Postgres Open
Look for other videos at Postgres Open.
Tweet this video