mirror of
https://github.com/YunoHost-Apps/radicale_ynh.git
synced 2024-09-03 20:16:14 +02:00
48 lines
717 B
Text
48 lines
717 B
Text
# Loggers, handlers and formatters keys
|
|
|
|
[loggers]
|
|
# Loggers names, main configuration slots
|
|
keys = www-data
|
|
|
|
[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
|