Added logging.conf

This commit is contained in:
Csaba 2024-06-12 14:22:55 +02:00
parent c1f72fc19d
commit bbcb1e7750
2 changed files with 22 additions and 1 deletions

1
.gitignore vendored
View file

@ -162,7 +162,6 @@ cython_debug/
data/
secrets
logging.conf
config
static/**
templates/**

22
logging.conf Normal file
View file

@ -0,0 +1,22 @@
[loggers]
keys=root
[handlers]
keys=consoleHandler
[formatters]
keys=simpleFormatter
[logger_root]
level=INFO
handlers=consoleHandler
propagate=yes
[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=simpleFormatter
args=(sys.stdout,)
[formatter_simpleFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s