Skip to content
Snippets Groups Projects
Commit fdd57e9f authored by Anael Beutot's avatar Anael Beutot
Browse files

Debug logging in stderr.

parent 8b03e6e0
No related branches found
No related tags found
No related merge requests found
......@@ -48,16 +48,16 @@ def configure_logging(level):
keys=root,ccnode,sjrpc
[handlers]
keys=syslog
# keys=consoleHandler
# keys=syslog
keys=consoleHandler
[formatters]
keys=simpleFormatter
[logger_root]
level=ERROR
handlers=syslog
# handlers=consoleHandler
# handlers=syslog
handlers=consoleHandler
[logger_ccnode]
level=%s
......@@ -69,15 +69,15 @@ level=ERROR
handlers=
qualname=sjrpc
[handler_syslog]
class=handlers.SysLogHandler
formatter=simpleFormatter
args=('/dev/log', handlers.SysLogHandler.LOG_DAEMON)
# [handler_consoleHandler]
# class=StreamHandler
# [handler_syslog]
# class=handlers.SysLogHandler
# formatter=simpleFormatter
# args=(sys.stderr,)
# args=('/dev/log', handlers.SysLogHandler.LOG_DAEMON)
[handler_consoleHandler]
class=StreamHandler
formatter=simpleFormatter
args=(sys.stderr,)
[formatter_simpleFormatter]
format=cc-node - %%(asctime)s - %%(name)s - %%(levelname)s - %%(message)s
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment