Where do puppet logs go

puppet

I ran puppet apply and got an error. Is there any way that I can get more details on this error?

err: /Stage[main]/XX/Service[xx]: Failed to call refresh: Could not restart Service[xx]: Execution of '/etc/init.d/xx restart' returned 1: at /etc/puppet/manifests/xx/xx.pp:20

Best Answer

Use puppet apply --debug to get more output. With puppet apply there is no logfile at all but you can redirect the output with --logdest to a file