puppetlabs/puppet — pull request #1981 by ericalthatcher (2013-10-09 00:02:11+00:00)
Title: (maint) reduce log level duplication

Prior to this commit the interactive Puppet applications, `apply`,
`inspect`, `resource` had duplicate logic for setting log level based
on command line options. This commit consolidates that logic into a
method in `Puppet::Application`.

This functionality is covered by existing tests.