Skip to content

Commit

Permalink
Merge pull request #517 from ze42/log_fmt_console
Browse files Browse the repository at this point in the history
fix(log_fmt_console): double option in config
  • Loading branch information
noelmcloughlin committed Dec 27, 2021
2 parents 8e56990 + b705e44 commit 89f3653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion salt/files/master.d/f_defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,7 @@ mine_get:
# the coloring of the messages, these color formatters also include padding as
# 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_logfile', "'%(asctime)s,%(msecs)03.0f [%(name)-17s][%(levelname)-8s] %(message)s'") }}
Expand Down
2 changes: 1 addition & 1 deletion salt/files/minion.d/f_defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ ext_pillar:
# the coloring of the messages, these color formatters also include padding as
# 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_logfile', "'%(asctime)s,%(msecs)03.0f [%(name)-17s][%(levelname)-8s] %(message)s'") }}
Expand Down

0 comments on commit 89f3653

Please sign in to comment.