2011-05-07 12:52:54 +02:00
|
|
|
# -*- mode: conf -*-
|
|
|
|
# vim:ft=cfg
|
|
|
|
|
|
|
|
# Logging config file for Radicale - A simple calendar server
|
|
|
|
#
|
2017-06-10 21:24:40 +02:00
|
|
|
# The recommended path for this file is /etc/radicale/logging
|
|
|
|
# The path must be specified in the logging section of the configuration file
|
|
|
|
#
|
|
|
|
# Some examples are included in Radicale's documentation, see:
|
|
|
|
# http://radicale.org/logging/
|
2011-05-07 12:52:54 +02:00
|
|
|
#
|
|
|
|
# Other handlers are available. For more information, see:
|
|
|
|
# http://docs.python.org/library/logging.config.html
|
|
|
|
|
|
|
|
|
|
|
|
# Loggers, handlers and formatters keys
|
|
|
|
|
|
|
|
[loggers]
|
|
|
|
# Loggers names, main configuration slots
|
2011-05-07 13:42:58 +02:00
|
|
|
keys = root
|
2011-05-07 12:52:54 +02:00
|
|
|
|
|
|
|
[handlers]
|
|
|
|
# Logging handlers, defining logging output methods
|
2017-06-10 21:24:40 +02:00
|
|
|
keys = console
|
2011-05-07 12:52:54 +02:00
|
|
|
|
|
|
|
[formatters]
|
|
|
|
# Logging formatters
|
2017-06-10 21:24:40 +02:00
|
|
|
keys = simple
|
2011-05-07 12:52:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Loggers
|
|
|
|
|
|
|
|
[logger_root]
|
|
|
|
# Root logger
|
2017-06-10 21:24:40 +02:00
|
|
|
level = WARNING
|
|
|
|
handlers = console
|
2011-05-07 12:52:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Handlers
|
|
|
|
|
|
|
|
[handler_console]
|
|
|
|
# Console handler
|
2011-05-07 13:42:58 +02:00
|
|
|
class = StreamHandler
|
2016-08-25 04:29:39 +02:00
|
|
|
args = (sys.stderr,)
|
2011-05-07 13:42:58 +02:00
|
|
|
formatter = simple
|
2011-05-07 12:52:54 +02:00
|
|
|
|
|
|
|
|
2011-05-13 10:40:25 +02:00
|
|
|
# Formatters
|
2011-05-07 12:52:54 +02:00
|
|
|
|
|
|
|
[formatter_simple]
|
|
|
|
# Simple output format
|
2016-09-03 10:19:29 +02:00
|
|
|
format = [%(thread)x] %(levelname)s: %(message)s
|