Ticket #40121: patch-server-server.py.diff
File patch-server-server.py.diff, 562 bytes (added by nonstop.server@…, 11 years ago) |
---|
-
server/server.py
old new 352 352 # Syslog daemons already add date to the message. 353 353 formatter = logging.Formatter("%(name)-16s: %(levelname)-6s %(message)s") 354 354 facility = logging.handlers.SysLogHandler.LOG_DAEMON 355 hdlr = logging.handlers.SysLogHandler("/ dev/log",355 hdlr = logging.handlers.SysLogHandler("/var/run/syslog", 356 356 facility = facility) 357 357 elif target == "STDOUT": 358 358 hdlr = logging.StreamHandler(sys.stdout)