DEV Community

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

Posted on

How to get puppetserver to log again after it stopped logging

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)