|
# logging config for radicale
|
|
|
|
|
|
# Keys for loggers, handlers and formatters --------------
|
|
|
|
[loggers]
|
|
keys = root
|
|
|
|
[handlers]
|
|
keys = console, file
|
|
|
|
[formatters]
|
|
keys = simple, full
|
|
|
|
|
|
# Loggers and Handlers------------------------------------
|
|
|
|
[logger_root]
|
|
level = DEBUG
|
|
handlers = console, file
|
|
|
|
[handler_console]
|
|
class = StreamHandler
|
|
level = INFO
|
|
args = (sys.stdout, )
|
|
formatter = simple
|
|
|
|
[handler_file]
|
|
class = FileHandler
|
|
level = DEBUG
|
|
args = ('/var/log/radicale.log', )
|
|
formatter = full
|
|
|
|
|
|
# Formatters ---------------------------------------------
|
|
|
|
[formatter_simple]
|
|
format = %(message)s
|
|
|
|
[formatter_full]
|
|
format = %(asctime)s - %(levelname)s: %(message)s
|