mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2025-02-17 15:44:25 +01:00
fixed log format string
This commit is contained in:
parent
d0df360e5d
commit
b1903eea83
@ -493,7 +493,7 @@ log_datefmt_logfile: '{{ salt.get('log_datefmt_logfile', '%Y-%m-%d %H:%M:%S') }}
|
|||||||
# The format of the console logging messages. Allowed formatting options can
|
# The format of the console logging messages. Allowed formatting options can
|
||||||
# be seen here: http://docs.python.org/library/logging.html#logrecord-attributes
|
# be seen here: http://docs.python.org/library/logging.html#logrecord-attributes
|
||||||
#log_fmt_console: '[%(levelname)-8s] %(message)s'
|
#log_fmt_console: '[%(levelname)-8s] %(message)s'
|
||||||
log_fmt_logfile: {{ salt.get('log_fmt_logfile', '%(asctime)s,%(msecs)03.0f [%(name)-17s][%(levelname)-8s] %(message)s')}}
|
log_fmt_logfile: '{{ salt.get('log_fmt_logfile', '%(asctime)s,%(msecs)03.0f [%(name)-17s][%(levelname)-8s] %(message)s')}}'
|
||||||
|
|
||||||
# This can be used to control logging levels more specificically. This
|
# This can be used to control logging levels more specificically. This
|
||||||
# example sets the main salt library at the 'warning' level, but sets
|
# example sets the main salt library at the 'warning' level, but sets
|
||||||
|
Loading…
Reference in New Issue
Block a user