Commit 677f9ddc authored by François Fortin's avatar François Fortin
Browse files

correct mismatch with logger level

the correct level are:
       --verbose-level level
              Select the verbose level of the logged messages of metro.
              0- No log is made of any message
              1- Minimal level
              2- Normal (default)
              3- Full
              4- Debug
parent 1112f31d
......@@ -1122,7 +1122,7 @@ def set_default_value( ):
#===============================================================================
dConfig['INIT_LOGGER_VERBOSE_LEVEL'] = \
{'VALUE' :metro_logger.LOGGER_VERBOSE_LEVEL_FULL,
{'VALUE' :metro_logger.LOGGER_VERBOSE_LEVEL_NORMAL,
'FROM' :CFG_HARDCODED,
'COMMENTS':_("logger verbosity level")}
......
......@@ -135,7 +135,9 @@ def write_log_header( fLog_file, iVerbosity ):
fLog_file.write("\n")
fLog_file.write(_("logger verbosity: "))
if iVerbosity == LOGGER_VERBOSE_LEVEL_MINIMAL:
if iVerbosity == LOGGER_VERBOSE_LEVEL_NOLOG:
fLog_file.write(_("No Log"))
elif iVerbosity == LOGGER_VERBOSE_LEVEL_MINIMAL:
fLog_file.write(_("Minimal"))
elif iVerbosity == LOGGER_VERBOSE_LEVEL_NORMAL:
fLog_file.write(_("Normal"))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment