2013-11-28 17:44:39 +01:00
|
|
|
# Loggers, handlers and formatters keys
|
|
|
|
|
|
|
|
[loggers]
|
|
|
|
# Loggers names, main configuration slots
|
2013-11-30 20:35:44 +01:00
|
|
|
keys = root
|
2013-11-28 17:44:39 +01:00
|
|
|
|
|
|
|
[handlers]
|
|
|
|
# Logging handlers, defining logging output methods
|
|
|
|
keys = console,file
|
|
|
|
|
|
|
|
[formatters]
|
|
|
|
# Logging formatters
|
|
|
|
keys = simple,full
|
|
|
|
|
|
|
|
|
|
|
|
# Loggers
|
|
|
|
|
|
|
|
[logger_root]
|
|
|
|
# Root logger
|
|
|
|
level = DEBUG
|
|
|
|
handlers = console,file
|
|
|
|
|
|
|
|
|
|
|
|
# Handlers
|
|
|
|
|
|
|
|
[handler_console]
|
|
|
|
# Console handler
|
|
|
|
class = StreamHandler
|
|
|
|
level = INFO
|
|
|
|
args = (sys.stdout,)
|
|
|
|
formatter = simple
|
|
|
|
|
|
|
|
[handler_file]
|
|
|
|
# File handler
|
|
|
|
class = FileHandler
|
|
|
|
args = ('/var/log/radicale',)
|
|
|
|
formatter = full
|
|
|
|
|
|
|
|
|
|
|
|
# Formatters
|
|
|
|
|
|
|
|
[formatter_simple]
|
|
|
|
# Simple output format
|
|
|
|
format = %(message)s
|
|
|
|
|
|
|
|
[formatter_full]
|
|
|
|
# Full output format
|
|
|
|
format = %(asctime)s - %(levelname)s: %(message)s
|