瀏覽代碼

fixed log format string

master
Kenneth Wilke 11 年之前
父節點
當前提交
b1903eea83
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      salt/files/master

+ 1
- 1
salt/files/master 查看文件

@@ -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
# be seen here: http://docs.python.org/library/logging.html#logrecord-attributes
#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
# example sets the main salt library at the 'warning' level, but sets

Loading…
取消
儲存