Typo fix in logging default file
This commit is contained in:
parent
899379d073
commit
c0c8ab6bc7
31
logging
31
logging
@ -14,50 +14,47 @@
|
|||||||
|
|
||||||
[loggers]
|
[loggers]
|
||||||
# Loggers names, main configuration slots
|
# Loggers names, main configuration slots
|
||||||
keys=root
|
keys = root
|
||||||
|
|
||||||
[handlers]
|
[handlers]
|
||||||
# Logging handlers, defining logging output methods
|
# Logging handlers, defining logging output methods
|
||||||
keys=console,file
|
keys = console,file
|
||||||
|
|
||||||
[formatters]
|
[formatters]
|
||||||
# Logging formatters
|
# Logging formatters
|
||||||
keys=simple,full
|
keys = simple,full
|
||||||
|
|
||||||
|
|
||||||
# Loggers
|
# Loggers
|
||||||
|
|
||||||
[logger_root]
|
[logger_root]
|
||||||
# Root logger
|
# Root logger
|
||||||
level=DEBUG
|
level = DEBUG
|
||||||
handlers=console,file
|
handlers = console,file
|
||||||
|
|
||||||
|
|
||||||
# Handlers
|
# Handlers
|
||||||
|
|
||||||
[handler_console]
|
[handler_console]
|
||||||
# Console handler
|
# Console handler
|
||||||
class=StreamHandler
|
class = StreamHandler
|
||||||
level=INFO
|
level = INFO
|
||||||
args=(sys.stdout,)
|
args = (sys.stdout,)
|
||||||
formatter=simple
|
formatter = simple
|
||||||
|
|
||||||
[handler_file]
|
[handler_file]
|
||||||
# File handler
|
# File handler
|
||||||
class=FileHandler
|
class = FileHandler
|
||||||
level=DEBUG
|
args = ('/var/log/radicale',)
|
||||||
args=('/var/log/radicale',)
|
formatter = full
|
||||||
formatter=full
|
|
||||||
|
|
||||||
|
|
||||||
# Formatter
|
# Formatter
|
||||||
|
|
||||||
[formatter_simple]
|
[formatter_simple]
|
||||||
# Simple output format
|
# Simple output format
|
||||||
format=%(message)s
|
format = %(message)s
|
||||||
datefmt=
|
|
||||||
|
|
||||||
[formatter_full]
|
[formatter_full]
|
||||||
# Full output format
|
# Full output format
|
||||||
format=%(asctime)s - %(levelname)s: %(message)s
|
format = %(asctime)s - %(levelname)s: %(message)s
|
||||||
datefmt=
|
|
||||||
|
Loading…
Reference in New Issue
Block a user