Issue #22334 has been updated by Andrew Parker.

Status changed from Accepted to In Topic Branch Pending Review
Branch set to https://github.com/puppetlabs/facter/pull/529

<https://github.com/puppetlabs/facter/pull/529>

----------------------------------------
Bug #22334: Facter outputs information to stderr irrespective of whether 
--debug is enabled
https://projects.puppetlabs.com/issues/22334#change-96909

* Author: Andrew Parker
* Status: In Topic Branch Pending Review
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Keywords: 
* Branch: https://github.com/puppetlabs/facter/pull/529
* Affected Facter version: 
----------------------------------------
When a fact resolution raises an error, Facter will output a message of the 
format `"Could not retrieve %s: %s" % [self.name, details]`. This message is 
output using ruby's native `warn` method instead of Facter's `warn` method 
which is controlled by `--debug`. This same method is used when a fact file 
fails to load, and when a fact takes too long. At the very least Facter needs 
to be using its own logging system in order to avoid outputting to stderr when 
it shouldn't.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to