The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
Print client name in log lines related to client
|Status:||Requires CLA to be signed||Start date:||01/10/2012|
|Assignee:||Kamil Swiatkowski||% Done:|
|Affected Puppet version:||2.6.0||Branch:|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
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: 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: 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.
#1 Updated by Kelsey Hightower about 3 years ago
Thanks for the patch! To help get your feature/patch reviewed, can you take a look at the following guide to contributing to Puppet?
Let me know if you have any questions or need help with any steps to contributing.