Browse Source

fixed log format string

master
Kenneth Wilke 11 years ago
parent
commit
b1903eea83
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      salt/files/master

+ 1
- 1
salt/files/master View File

# 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…
Cancel
Save