Ask Your Question

puppet server 4.0: Log to different file per client?

asked 2015-08-25 18:05:30 -0600

JohnsonEarls gravatar image

Is there any way to make puppet server 4.x log to a different file per client?

Currently, my puppet server is logging to /var/log/puppet/puppetserver/puppetserver.log - it would be great if I could make that something like /var/log/puppet/puppetserver/ and …/, and only log the general puppet server messages to the generic …/puppetserver.log file.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-08-26 00:54:09 -0600

cprice404 gravatar image

Unfortunately, no, that's not currently possible. If you are willing to file a ticket on our issue tracker ( ) we can potentially look into it for the future. Perhaps you could also elaborate a bit on your goal in separating the log files in case there is another solution that is possible today that would help you?

edit flag offensive delete link more


Just that I can already see problems with people trying to debug puppet issues when we only have a vew agents talking to the server. Once we get up to our full complement of servers, trying to trace through the puppet logs for a particular agent is going to be a nightmare.

JohnsonEarls gravatar imageJohnsonEarls ( 2015-08-26 08:24:18 -0600 )edit

Would the agent logs give you the data that you need?

cprice404 gravatar imagecprice404 ( 2015-08-26 08:43:27 -0600 )edit

No, the agent logs give different information than the server log.

JohnsonEarls gravatar imageJohnsonEarls ( 2015-08-26 11:08:57 -0600 )edit

Can you give an example of a specific type of info you would like to be able to get out of the server log that is not available in the agent logs? I'm just trying to make sure we have a clear understanding of your use case.

cprice404 gravatar imagecprice404 ( 2015-08-27 05:20:29 -0600 )edit

@cprice404 - my puppet agent logs rotated out before I could get a complete look, but it looks like you're right - the pertinent information appears in both agent and server logs. I thought I'd seen errors in the server log that did not appear in the agent log, but I cannot find any such errors now

JohnsonEarls gravatar imageJohnsonEarls ( 2015-08-28 11:48:09 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2015-08-25 18:05:30 -0600

Seen: 268 times

Last updated: Aug 26 '15