Skip to content
Snippets Groups Projects
Commit d39e359e authored by thomaswoehlke's avatar thomaswoehlke
Browse files

work

parent 5b209c0e
No related merge requests found
......@@ -92,14 +92,18 @@ ITEMS_PER_PAGE = app.config['SQLALCHEMY_ITEMS_PER_PAGE']
# TODO: #210 database.py: logging for Celery on Windows
my_logging_config = {
'version': 1,
'formatters': {'default': {
'format': '[%(asctime)s] %(levelname)s in %(module)s: %(message)s',
}},
'handlers': {'wsgi': {
'class': 'logging.StreamHandler',
'stream': 'ext://flask.logging.wsgi_errors_stream',
'formatter': 'default'
}},
'formatters': {
'default': {
'format': '[%(asctime)s] %(levelname)s in %(module)s: %(message)s',
}
},
'handlers': {
'wsgi': {
'class': 'logging.StreamHandler',
'stream': 'ext://flask.logging.wsgi_errors_stream',
'formatter': 'default'
}
},
'root': {
'level': 'INFO',
'handlers': ['wsgi']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment