On Wed, Nov 5, 2014 at 1:53 AM, David Schmitt <da...@dasz.at> wrote: > Commandline options should always trump config file settings for reduced > surprise factor. >
I agree, but in this case, the fact that --verbose would ever *decrease* the log level *is* the surprising thing. I expect puppet verb1 --verbose --blah1 --blah2 --debug to do the same thing as puppet verb1 --debug --blah1 --blah2 --verbose Now, I *would* expect puppet verb1 --loglevel debug --blah1 --blah2 --loglevel info to not be logging anything higher than info, just as I expect rm -f -r -i /bin to be asking me about every single file. Later command line options should trump earlier ones. (In case it's not clear, to me, "in the config file" just means "It's earlier on the command line".) And back to the orignal question: > 1. If --verbose (or --test) is specified, then ensure the log_level is > *at least* at the info level Yes, option 1. -- Jim Toth jjt...@vcu.edu -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/CAFjekK7mpvFc3afU1-md09wMaN8kFJ8%3DWH34qaF5OuxmVcpdQQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.