|
@@ -93,7 +93,7 @@ else:
|
|
|
syslog_handler = logging.handlers.SysLogHandler("/dev/log")
|
|
|
console_handler = logging.StreamHandler()
|
|
|
|
|
|
-formatter = logging.Formatter("%(asctime)s - %(name)s - %(message)s")
|
|
|
+formatter = logging.Formatter("%%(name)s: %(message)s")
|
|
|
|
|
|
syslog_handler.setFormatter(formatter)
|
|
|
console_handler.setFormatter(formatter)
|