HomePhorge

(#13929) Improve logging for very early failures
03bf1a69d215Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#13929) Improve logging for very early failures

This adds a "force_flushqueue" method to the Log class.
This can be called prior to a system exit, to force
any queued log messages to be flushed. If no
logging destinations have been configured it will
attempt to create a console destination for the
queue to be flushed to.

Details

Provenance
Chris Price <chris@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU56f6dccc6ee2: Merge 2.7.x merge branch into master
Branches
Unknown
Tags
Unknown

Event Timeline

Chris Price <chris@puppetlabs.com> committed rPU03bf1a69d215: (#13929) Improve logging for very early failures (authored by Chris Price <chris@puppetlabs.com>).Apr 13 2012, 1:03 AM