Logging and debugging
The Windows Event Log can be helpful when troubleshooting issues with Windows nodes.
To enable the Puppet agent to emit --debug
and --trace
messages to the Windows Event Log, run this command to
stop and restart the Puppet service:
c:\>sc stop puppet && sc start puppet --debug --trace
This setting applies only until the next time the
service is restarted or the system is rebooted.