Issue #22334 has been updated by Melissa Stone.

Status changed from Merged - Pending Release to Closed
Affected Facter version deleted (1.7.3-rc1)

Released in Facter 1.7.4-rc1

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

* Author: Andrew Parker
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 1.7.4
* 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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
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