I'm looking for the logs on a puppet agent on Ubuntu. According to the Puppet documentation it should be in /var/log/messages.
Logging for Puppet agent on *nix systems When running as a service, Puppet agent logs messages to syslog. Your syslog configuration dictates where these messages are saved, but the default location is /var/log/messages on Linux, /var/log/system.log on Mac OS X, and /var/adm/messages on Solaris.
I've set log_level to debug. I don't seem to have a /var/log/messages file. I do have folders /var/log/puppetlabs/puppet and /var/log/puppetlabs/pxp-agent but both of these folders are empty.
Edit: Reading that the default logdir is Striking out because I think this applies to puppet server not the agent./var/log/puppetlabs/puppet. But I never have log files when I look.
/var/log/messagesis a standard file for logging system messages on all Linux. It really does not exist? - Matt Schuchard/var/log/messagesfile. I'm running Ubuntu Server 14.04 on both. - Philip Kirkbride/var/log/syslogon the ARM version. It contains logs from several programs including puppet. - Philip Kirkbride