Skip to content

Commit

Permalink
Disable syslog logger in loggers, (it produces problem on reproiner p…
Browse files Browse the repository at this point in the history
…odman), #11.
  • Loading branch information
vmdocua committed Apr 2, 2024
1 parent eaf5d77 commit cca61c7
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions logging.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
keys=root,defaultLogger

[handlers]
keys=consoleHandler,syslogHandler
keys=consoleHandler

[formatters]
keys=defaultFormatter,syslogFormatter
keys=defaultFormatter

[logger_root]
level=DEBUG
handlers=consoleHandler,syslogHandler
handlers=consoleHandler

[logger_defaultLogger]
level=DEBUG
handlers=consoleHandler,syslogHandler
handlers=consoleHandler
qualname=defaultLogger
propagate=0

Expand All @@ -23,15 +23,7 @@ level=DEBUG
formatter=defaultFormatter
args=(sys.stdout,)

[handler_syslogHandler]
class=logging.handlers.SysLogHandler
formatter=syslogFormatter
args=(('127.0.0.1', 514),15)

[formatter_defaultFormatter]
format=repromon: %(asctime)s %(levelname)s %(name)s %(threadName)s (%(module)s:%(funcName)s:%(lineno)d) - %(message)s
datefmt=

[formatter_syslogFormatter]
format=repromon: %(levelname)s %(name)s %(threadName)s (%(module)s:%(funcName)s:%(lineno)d) - %(message)s
datefmt=

0 comments on commit cca61c7

Please sign in to comment.