puppetlabs/puppet — pull request #1940 by ericwilliamson (2013-09-25 21:31:07+00:00)
Title: (maint) reduce duplication of logdest option handling

Prior to this commit there were 6 different puppet applications
with independent implementaions handling the `--logdest` option,
including two that were logging directly to stderr rather than
using `Puppet.log_exception` helper. This commit pulls those
implementations up into Puppet::Application and unifies against
the single implementation using `Puppet.log_exception`. Additionally
it now has unit tests.