On Tue, Oct 12, 2010 at 02:27:51PM +0200, Kenneth Holter wrote: > Hi. > > > The puppetmaster is set up to log to syslog, which is working fine. The > downside is that most of the log entries created by the puppetmaster does > not indicate which puppet client that message if from. So basically I have > lots and lots of syslog entries created by the puppetmaster, but no way of > telling which client it references.
Just to be clear, you are having your puppet clients tell the puppestmaster what they are doing and then the master is logging that? > > Is there any way to have the puppet master prefix each syslog message with > the name of the client the log message is for? I think it is better to have puppet clients logging to local syslog. You can always configure your syslog daemon to replicate this to another host (rsyslog or syslog-ng will both do this for you quite easily) or have logwatch track it. The benefits of this are a) log redundancy, b) you get to see what the client is doing even when the puppetmaster is down (or not visible to the client) and c) less load on the puppetmaster (logging can become a significant extra load if you have a large network). -- Bruce Explota!: miles de lemmings no pueden estar equivocados.
signature.asc
Description: Digital signature