mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-05 06:07:35 +03:00
align default log level with config.py
This commit is contained in:
parent
ad596002f3
commit
695c5d8416
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ def setup() -> None:
|
||||||
register_stream = handler.register_stream
|
register_stream = handler.register_stream
|
||||||
log_record_factory = IdentLogRecordFactory(logging.getLogRecordFactory())
|
log_record_factory = IdentLogRecordFactory(logging.getLogRecordFactory())
|
||||||
logging.setLogRecordFactory(log_record_factory)
|
logging.setLogRecordFactory(log_record_factory)
|
||||||
set_level(logging.WARNING, True)
|
set_level(logging.INFO, True)
|
||||||
if format_name != sane_format_name:
|
if format_name != sane_format_name:
|
||||||
logger.error("Invalid RADICALE_LOG_FORMAT: %r", format_name)
|
logger.error("Invalid RADICALE_LOG_FORMAT: %r", format_name)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue