Log locations
The software distributed with Puppet Enterprise (PE) generates log files you can use for troubleshooting.
Primary server logs
- Code Manager access log
- Location:
/var/log/puppetlabs/puppetserver/code-manager-access.log
- File sync access log
- Location:
/var/log/puppetlabs/puppetserver/file-sync-access.log
- Puppet Communications Protocol (PCP) broker log
- This is the log file for PCP brokers on compilers.
- General Puppet Server log
- This is where the primary server logs its activity, including compilation errors and deprecation warnings.
- Puppet Server access log
- Location:
/var/log/puppetlabs/puppetserver/puppetserver-access.log
- Puppet Server daemon log
- This is where you can find fatal errors and crash reports.
- Puppet Server status log
- Location:
/var/log/puppetlabs/puppetserver/puppetserver-status.log
Agent logs
The agent log locations depend on the agent node's operating system.
On *nix nodes, the agent service logs activity to the
syslog service. The node's operating system and syslog configuration determines
where these messages are saved. The default locations are as follows:
-
Linux:
/var/log/messages
-
macOS:
/var/log/system.log
-
Solaris:
/var/adm/messages
On Windows nodes, the agent service logs its activity to the Event Log. Browse the Event Viewer to view those messages. You might need to enable Logging and debugging.
Console and console services logs
- General console services log
- Location:
/var/log/puppetlabs/console-services/console-services.log
- Console services API access log
- Location:
/var/log/puppetlabs/console-services/console-services-api-access.log
- Console services access log
- Location:
/var/log/puppetlabs/console-services-access.log
- Console services daemon log
- This is where you can find fatal errors and crash reports.
- NGINX access log
- Location:
/var/log/puppetlabs/nginx/access.log
- NGINX error log
- Contains console errors that aren't logged elsewhere and errors related to NGINX.
Installer logs
- HTTP log
- Contains web requests sent to the installer.
- Orchestrator info log
- Contains run details about
puppet infrastructure
commands that use the orchestrator. This includes commands to provision and upgrade compilers, convert legacy compilers, and regenerate agent and compiler certificates. - Last installer run logs, by hostname
- Contains the contents of the last installer run.
- Installer operation logs, by timestamp
- Captures operations performed during installation and any errors that occurred.
- Disaster recovery command logs, by action, timestamp, and description
- Contains details about disaster recovery command execution.
- Bolt info log
- Can be valuable when Troubleshooting disaster recovery.
Database logs
Database logs include PostgreSQL and PuppetDB logs.
- PostgreSQL startup log
- Can be valuable when Troubleshooting the databases.
- PostgreSQL daily logs, by weekday
- There is one log file for each day of the week. Log file names use short
names, such as
Mon
for Monday,Tue
for Tuesday, and so on. - General PuppetDB log
- Location:
/var/log/puppetlabs/puppetdb/puppetdb.log
- PuppetDB access log
- Location:
/var/log/puppetlabs/puppetdb/puppetdb-access.log
- PuppetDB status log
- Location:
/var/log/puppetlabs/puppetdb/puppetdb-status.log
Orchestration logs
Orchestration logs include orchestration services and related components, such as PXP agent and Bolt server.
- Aggregate node count log
- Location:
/var/log/puppetlabs/orchestration-services/aggregate-node-count.log
- Puppet Communications Protocol (PCP) broker log
- This is the log file for PCP brokers on the primary server.
- Puppet Communications Protocol (PCP) broker access log
- Location:
/var/log/puppetlabs/orchestration-services/pcp-broker-access.log
- Orchestration services access log
- Location:
/var/log/puppetlabs/orchestration-services/orchestration-services-access.log
- Orchestration services daemon log
- This is where you can find fatal errors and crash reports.
- Orchestration services status log
- Location:
/var/log/puppetlabs/orchestration-services/orchestration-services-status.log
- Puppet Execution Protocol (PXP) agent log
-
*nix location:
/var/log/puppetlabs/pxp-agent/pxp-agent.log
- Bolt server log
- Can be valuable when Troubleshooting connections between components.
- Node inventory service log
- Location:
/var/log/puppetlabs/orchestration-services/orchestration-services.log