HomePhorge

(#12392) Add eventlog destination and log to it by default on Windows
8d2ff8951753Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#12392) Add eventlog destination and log to it by default on Windows

Previously, puppet logged by default to syslog or a file.

This commit changes puppet to log to syslog, the eventlog, or a file, in
that order. Puppet uses Puppet.features.eventlog? to determine if the
Windows eventlog is available on the current platform (which requires
the win32-eventlog gem). If the feature is false, then the eventlog
destination is not created, and the next suitable destination is used.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUf0625ef99ac2: (#12392) Created Windows eventlog message resource dll
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU8d2ff8951753: (#12392) Add eventlog destination and log to it by default on Windows (authored by Josh Cooper <josh@puppetlabs.com>).Apr 5 2012, 8:50 PM