Upper case user entered log level. #19

Merged
merged 1 commit into from Jun 8, 2015

Conversation

Projects
None yet
3 participants
Contributor

howbazaar commented Jun 8, 2015

After getting frustrated that the CLI bombed out with '-l debug', I thought I'd fix it.

@@ -66,7 +66,7 @@ def configure():
# Set the environment variable BUNDLE if the bundle argument was provided.
if options.bundle:
os.environ['BUNDLE'] = options.bundle
- logging.basicConfig(level=options.log_level)
+ logging.basicConfig(level=options.log_level.upper())
@chuckbutler

chuckbutler Jun 8, 2015

Contributor

This seems ok. 👍

AdamIsrael added a commit that referenced this pull request Jun 8, 2015

Merge pull request #19 from howbazaar/log-level-fix
Upper case user entered log level. Thanks for this fix! That's been a definite annoyance.

@AdamIsrael AdamIsrael merged commit 129f7a1 into juju-solutions:master Jun 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment