Logging and status
When we discussed different Puppet components previously in this book, we listed logging directories, but it is useful to have a single reference point for these logs.
Exploring log locations
This section provides a list of these logs, titled with the core function, the containing directory, and the list of logs in that directory:
- Primary server logs:
/var/log/puppetlabs/puppetserver/
: The primary server logging directorypuppetserver.log
: The primary server which logs its activitypuppetserver-access.log
: Requests to access endpointspuppetserver-daemon.log
: Crash reports and fatal errorspuppetserver-status.log
: Debug status logging for the service
- Database logs:
/var/log/puppetlabs/postgresql/<version>
: PostgreSQL logging directorypgstartup.log
: Start-up logspostgresql-<Mon – Sun>.log
: Daily debugging logs/var/log/puppetlabs/puppetdb/
: PuppetDB logging directorypuppetdb.log
: The PuppetDB service activity logpuppetdb-access.log
: Requests...