26 lines
674 B
TOML
26 lines
674 B
TOML
# This is the default flaschengeist logger configuration
|
|
# If you want to customize it, use the flaschengeist.toml
|
|
|
|
version = 1
|
|
disable_existing_loggers = false
|
|
|
|
[formatters]
|
|
[formatters.simple]
|
|
format = "[%(asctime)s] %(levelname)s - %(message)s"
|
|
[formatters.extended]
|
|
format = "[%(asctime)s] %(levelname)s %(filename)s - %(funcName)s - %(lineno)d - %(threadName)s - %(name)s — %(message)s"
|
|
|
|
[handlers]
|
|
[handlers.wsgi]
|
|
stream = "ext://flask.logging.wsgi_errors_stream"
|
|
class = "logging.StreamHandler"
|
|
formatter = "simple"
|
|
level = "DEBUG"
|
|
|
|
[loggers]
|
|
[loggers.werkzeug]
|
|
level = "WARNING"
|
|
|
|
[root]
|
|
level = "WARNING"
|
|
handlers = ["wsgi"] |