|
@@ -93,7 +93,7 @@ elif config.syslog_facility == "daemon":
|
|
facility=logging.handlers.SysLogHandler.LOG_DAEMON)
|
|
facility=logging.handlers.SysLogHandler.LOG_DAEMON)
|
|
console_handler = logging.StreamHandler()
|
|
console_handler = logging.StreamHandler()
|
|
|
|
|
|
-formatter = logging.Formatter("%(name)s[os.getuid()]: %(message)s")
|
|
|
|
|
|
+formatter = logging.Formatter("%(name)s[" +str(os.getpid()) + "]: %(message)s")
|
|
|
|
|
|
syslog_handler.setFormatter(formatter)
|
|
syslog_handler.setFormatter(formatter)
|
|
console_handler.setFormatter(formatter)
|
|
console_handler.setFormatter(formatter)
|