Issue #11862 has been updated by Kelsey Hightower.

Kamil,

Thanks for the patch! To help get your feature/patch reviewed, can you take a 
look at the following guide to contributing to Puppet?

[https://github.com/puppetlabs/puppet/blob/master/CONTRIBUTING.md](https://github.com/puppetlabs/puppet/blob/master/CONTRIBUTING.md)


Mainly you will need to sign a [Contributor License 
Agreement](https://projects.puppetlabs.com/contributor_licenses/sign), if you 
have not done so already. Next fork the [Puppet Repo on 
github.com](https://github.com/puppetlabs/puppet), branch, patch and submit a 
pull request.

Let me know if you have any questions or need help with any steps to 
contributing.
----------------------------------------
Feature #11862: Print client name in log lines related to client
https://projects.puppetlabs.com/issues/11862

Author: Kamil Swiatkowski
Status: Unreviewed
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