-v 0 shows both error, critical and raw_input messages

This commit is contained in:
Bernardo Damele 2011-03-11 22:02:38 +00:00
parent d7d47b6257
commit f00aff5303
2 changed files with 2 additions and 2 deletions

View File

@ -1321,7 +1321,7 @@ def __setVerbosity():
conf.verbose = int(conf.verbose) conf.verbose = int(conf.verbose)
if conf.verbose == 0: if conf.verbose == 0:
logger.setLevel(logging.CRITICAL) logger.setLevel(logging.ERROR)
elif conf.verbose == 1: elif conf.verbose == 1:
logger.setLevel(logging.INFO) logger.setLevel(logging.INFO)
elif conf.verbose > 2 and conf.eta: elif conf.verbose > 2 and conf.eta:

View File

@ -533,7 +533,7 @@ replicate = False
# Verbosity level. # Verbosity level.
# Valid: integer between 0 and 6 # Valid: integer between 0 and 6
# 0: Show only critical messages # 0: Show only error and critical messages
# 1: Show also warning and info messages # 1: Show also warning and info messages
# 2: Show also debug messages # 2: Show also debug messages
# 3: Show also payloads injected # 3: Show also payloads injected