Merge pull request #517 from ze42/log_fmt_console
fix(log_fmt_console): double option in config
This commit is contained in:
commit
89f3653de9
|
@ -1594,7 +1594,7 @@ mine_get:
|
||||||
# the coloring of the messages, these color formatters also include padding as
|
# the coloring of the messages, these color formatters also include padding as
|
||||||
# well. Color LogRecord attributes are only available for console logging.
|
# well. Color LogRecord attributes are only available for console logging.
|
||||||
#
|
#
|
||||||
{{ get_config('log_fmt_console', "'%(colorlevel)s %(colormsg)s'") }}
|
#log_fmt_console "%(colorlevel)s %(colormsg)s"
|
||||||
{{ get_config('log_fmt_console', "'[%(levelname)-8s] %(message)s'") }}
|
{{ get_config('log_fmt_console', "'[%(levelname)-8s] %(message)s'") }}
|
||||||
|
|
||||||
{{ get_config('log_fmt_logfile', "'%(asctime)s,%(msecs)03.0f [%(name)-17s][%(levelname)-8s] %(message)s'") }}
|
{{ get_config('log_fmt_logfile', "'%(asctime)s,%(msecs)03.0f [%(name)-17s][%(levelname)-8s] %(message)s'") }}
|
||||||
|
|
|
@ -1085,7 +1085,7 @@ ext_pillar:
|
||||||
# the coloring of the messages, these color formatters also include padding as
|
# the coloring of the messages, these color formatters also include padding as
|
||||||
# well. Color LogRecord attributes are only available for console logging.
|
# well. Color LogRecord attributes are only available for console logging.
|
||||||
#
|
#
|
||||||
{{ get_config('log_fmt_console', "'%(colorlevel)s %(colormsg)s'") }}
|
#log_fmt_console "%(colorlevel)s %(colormsg)s"
|
||||||
{{ get_config('log_fmt_console', "'[%(levelname)-8s] %(message)s'") }}
|
{{ get_config('log_fmt_console', "'[%(levelname)-8s] %(message)s'") }}
|
||||||
#
|
#
|
||||||
{{ get_config('log_fmt_logfile', "'%(asctime)s,%(msecs)03.0f [%(name)-17s][%(levelname)-8s] %(message)s'") }}
|
{{ get_config('log_fmt_logfile', "'%(asctime)s,%(msecs)03.0f [%(name)-17s][%(levelname)-8s] %(message)s'") }}
|
||||||
|
|
Loading…
Reference in New Issue