DEV Community

loading...
Cover image for How to get puppetserver to log again after it stopped logging

How to get puppetserver to log again after it stopped logging

Julian
see https://dev.to/c33s/comment/3eck
・1 min read

today i noticed that my puppetserver version 2.7.2 on debian stretch doesn't log to /var/log/puppetlabs/puppetserver/puppetserver.log and /var/log/puppetlabs/puppetserver/puppetserver-access.log anymore :(

i had no idea why. even restarting the service did not help.

tried /etc/init.d/puppetserver restart & service puppetserver restart with the same result of not having new log entries.

the solution for me was to first start and then stop the puppetmaster:

puppetserver stop
puppetserver start
Enter fullscreen mode Exit fullscreen mode

cover image by xresch https://pixabay.com/en/analytics-information-innovation-3088958/

Discussion (0)