Skip to content

Commit

Permalink
Set verbose to True and deprecate it
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dtantsur authored and TerryHowe committed Aug 1, 2015
1 parent 8dee707 commit f464d9f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions oslo_log/_options.py
Expand Up @@ -24,12 +24,13 @@
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 = [
Expand Down

0 comments on commit f464d9f

Please sign in to comment.