Lines 368-374
Link Here
|
368 |
# Syslog daemons already add date to the message. |
368 |
# Syslog daemons already add date to the message. |
369 |
formatter = logging.Formatter("%(name)s[%(process)d]: %(levelname)s %(message)s") |
369 |
formatter = logging.Formatter("%(name)s[%(process)d]: %(levelname)s %(message)s") |
370 |
facility = logging.handlers.SysLogHandler.LOG_DAEMON |
370 |
facility = logging.handlers.SysLogHandler.LOG_DAEMON |
371 |
hdlr = logging.handlers.SysLogHandler("/dev/log", facility=facility) |
371 |
hdlr = logging.handlers.SysLogHandler("/var/run/log", facility=facility) |
372 |
elif target == "STDOUT": |
372 |
elif target == "STDOUT": |
373 |
hdlr = logging.StreamHandler(sys.stdout) |
373 |
hdlr = logging.StreamHandler(sys.stdout) |
374 |
elif target == "STDERR": |
374 |
elif target == "STDERR": |