Issue #11862 has been updated by Kelsey Hightower.

Status changed from Unreviewed to Needs Decision


----------------------------------------
Feature #11862: Print client name in log lines related to client
https://projects.puppetlabs.com/issues/11862

Author: Kamil Swiatkowski
Status: Needs Decision
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


Hi,

it would be nice to have client name (hostname) printed in log line related to 
this client. In large environment (in my case > 1000 clients per puppet server) 
it's not possible to trace which log line belongs to which client.
For example: I recently upgraded server and clients from 0.24 to 2.7 and still 
have some clients running 0.24. From log line like below I can't figure out 
hostname of server running 0.24 client:

Jan 10 15:04:13 puppetserver puppet-master[22986]: Stages are not supported by 
0.24.x client; stage(s) Stage[main] will be ignored

I modified resource/catalog.rb to report name of client like this:

Jan 10 15:04:13 puppetserver puppet-master[22986]: Stages are not supported by 
0.24.x client; stage(s) Stage[main] will be ignored on xxxxx.local

I attached the patch for this. 

Kamil



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to