Files
python-keystoneclient/keystoneclient/shell.py
Brant Knudson 59daf4bf02 CLI always configures logging
When the keystone CLI wound up logging something and --debug
wasn't set, a message was printed that 'No handlers could be
found for logger <whatever>'. This is because Python logging
was only configured when the --debug option was set.

This change makes it so that logging is always configured. If
--debug is used then the level is DEBUG and if it's not used
then the level is WARNING.

Change-Id: Ib01d1072acff0d6ede468b0ecab4f871459014ee
Closes-Bug: #936404
2014-04-16 20:05:02 -05:00

20 KiB