# http://docs.python.org/library/logging.html
# nb geen spaties tussen achter de komma's!
[loggers]
keys = root,gui,configs,inbox,gui
[handlers]
keys = syslog,default
[formatters]
keys = simple,complex
[formatter_simple]
[formatter_complex]
class = logging.Formatter
format = %(asctime)s %(name)s:%(levelname)s[%(filename)s line:%(lineno)s] -- %(message)s
[handler_syslog]
class = handlers.SysLogHandler
level = CRITICAL
args = [('/dev/log'),handlers.SysLogHandler.LOG_LOCAL0]
formatter = complex
[logger_configs]
level = CRITICAL
handlers = syslog
qualname = meresco.configs
[logger_inbox]
level = CRITICAL
handlers = syslog
qualname = meresco.inbox
#
# GUI
#
[logger_gui]
level = CRITICAL
handlers = syslog
qualname = meresco.gui
[logger_gui.resultlist]
level = CRITICAL
handlers = syslog
qualname = meresco.resultlist
[logger_gui.drilldown]
level = CRITICAL
handlers = syslog
qualname = meresco.resultlist
#
# DEFAULT
#
# all messages are propagated to the root unless specified not to
[logger_root]
level = CRITICAL
handlers = default
#
[handler_default]
class = StreamHandler
level = CRITICAL
formatter = complex
#args = ('debug.log', 'w')
args = (sys.stderr,)