Issue #13929 has been updated by Chris Price.

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


----------------------------------------
Bug #13929: Face error messages during startup may be swallowed
https://projects.puppetlabs.com/issues/13929#change-60492

Author: Chris Price
Status: In Topic Branch Pending Review
Priority: High
Assignee: Chris Price
Category: logging
Target version: Telly
Affected Puppet version: 
Keywords: 
Branch: https://github.com/puppetlabs/puppet/pull/668


The method Puppet::Util#exit_on_fail has an exception handling block that 
attempts to ensure that any error that occurs during the lifecycle of the face 
will be logged.

A recurring problem that we keep seeing, though, is that if an error occurs 
before logging is initialized, we still swallow the errors.  We have a queuing 
mechanism in place that attempts to queue up log messages that are written 
before the logging framework is initialized, and then flush the queue once the 
logging system is ready.  However, this still doesn't work if the error occurs 
before logging is fully initialized.


-- 
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