I'd like to solicit feedback on a ticket around changing some behavior in
logging when using --verbose, --debug, --test, etc.

PUP-6125 <https://tickets.puppetlabs.com/browse/PUP-6125> points out that
--logdest states
Where to send log messages. Choose between 'syslog' (the POSIX syslog service),
'eventlog' (the Windows Event Log), 'console', or the path to a log file.
If debugging or verbosity is enabled, this defaults to 'console'. Otherwise,
it defaults to 'syslog' on POSIX systems and 'eventlog' on Windows.

However, the actual behavior when setting debug or verbose is to enable
logging to the console, while also keeping the default behavior (or
whatever is specified in logdest).

The actual behavior seems to contradict the documented behavior. The actual
behavior also seems undesirable since debug, verbose, and show_diff
(implied by --test) can reveal secrets that might not be shown otherwise
during a run, and storing them to syslog/eventlog is more permanent and
more widely available than writing to the console.

Does anyone rely on the current behavior? For example, running puppet with
--verbose always enabled, and expecting that to go to syslog/eventlog?
Fixing PUP-6125 would require anyone using verbose (and other) flags in
normal operation to explicitly specify --logdest syslog/eventlog as well.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CABy1mMLGeQcTCBijnCLL1sSEiWoMQSBj15nG1N2keiEvAGASKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to