Puppet Enterprise 2017.3

The Windows Event Log can be helpful when troubleshooting issues with Windows.

Messages from the Marionette Collective Server, Puppet PXP Agent services, and the Puppet Agent, can be viewed in the Windows Event Viewer (Windows Logs > Application).

Note: There are additional log files located on disk. Marionette Collective produces logs at:`C:\ProgramData\PuppetLabs\mcollective\var\log\mcollective.log`. PXP Agent produces logs at:`C:\ProgramData\PuppetLabs\pxp-agent\var\log\pxp-agent.log`. Puppet may (optionally) be configured to produce additional logs at:`C:\ProgramData\PuppetLabs\puppet\var\log\puppet.log`.

Enable Puppet to emit --debug and --trace messages to the Windows Event Log by stopping the Puppet service and restarting it:

c:\>sc stop puppet && sc start puppet --debug --trace

Note that this setting only takes effect until the next time the service is restarted, or until the system is rebooted.

For more information on logging, see Configuring Puppet agent on Windows.

Back to top