Merge "Fix unintended assignment of "syslog""
This commit is contained in:
commit
69e0ba3d75
@ -343,10 +343,10 @@ def _setup_logging_from_conf(conf, project, version):
|
|||||||
facility = _find_facility(conf.syslog_log_facility)
|
facility = _find_facility(conf.syslog_log_facility)
|
||||||
# TODO(bogdando) use the format provided by RFCSysLogHandler after
|
# TODO(bogdando) use the format provided by RFCSysLogHandler after
|
||||||
# existing syslog format deprecation in J
|
# existing syslog format deprecation in J
|
||||||
syslog = handlers.OSSysLogHandler(
|
syslog_handler = handlers.OSSysLogHandler(
|
||||||
facility=facility,
|
facility=facility,
|
||||||
use_syslog_rfc_format=conf.use_syslog_rfc_format)
|
use_syslog_rfc_format=conf.use_syslog_rfc_format)
|
||||||
log_root.addHandler(syslog)
|
log_root.addHandler(syslog_handler)
|
||||||
|
|
||||||
datefmt = conf.log_date_format
|
datefmt = conf.log_date_format
|
||||||
for handler in log_root.handlers:
|
for handler in log_root.handlers:
|
||||||
|
Loading…
Reference in New Issue
Block a user