Set verbose to True and deprecate it

Defaulting log level to WARNING means we store nearly no information
in logs. INFO logging contains all state transition information,
which is completely critical for understanding what is going on
in a system. Of all people I personally asked, everybody is using
DEBUG level in production, so INFO does not seem to be an overkill.

Please follow this mailing list thread for more detailed reasoning:
http://lists.openstack.org/pipermail/openstack-dev/2015-July/070609.html

Change-Id: I306535c6ca5dbdaf9398b44697578a3a30e52111
This commit is contained in:
Dmitry Tantsur 2015-07-28 11:22:47 +02:00 committed by Terry Howe
parent 8dee707e8a
commit f464d9f2e1

View File

@ -24,12 +24,13 @@ common_cli_opts = [
short='d',
default=False,
help='Print debugging output (set logging level to '
'DEBUG instead of default WARNING level).'),
'DEBUG instead of default INFO level).'),
cfg.BoolOpt('verbose',
short='v',
default=False,
help='Print more verbose output (set logging level to '
'INFO instead of default WARNING level).'),
default=True,
help='If set to false, will disable INFO logging level, '
'making WARNING the default.',
deprecated_for_removal=True),
]
logging_cli_opts = [