Enable advanced logging features

This commit is contained in:
Patrick Jentsch
2021-09-15 17:58:17 +02:00
parent 727553412f
commit e2c68a1a80
6 changed files with 86 additions and 48 deletions

View File

@ -33,7 +33,9 @@ def create_app(config_class=Config):
migrate.init_app(app, db)
paranoid.init_app(app)
socketio.init_app(
app, message_queue=app.config['NOPAQUE_SOCKETIO_MESSAGE_QUEUE_URI'])
app,
message_queue=app.config.get('NOPAQUE_SOCKETIO_MESSAGE_QUEUE_URI')
)
from .events import socketio as socketio_events
from .events import sqlalchemy as sqlalchemy_events