Browse Source

corrected the format string for logger

Helmut Pozimski 11 years ago
parent
commit
90e549dc9e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      stdd

+ 1 - 1
stdd

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