mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 07:16:52 -06:00
Disable the DEBUG log handler so our own is used.
This commit is contained in:
parent
51117f26a9
commit
ca6ef66b61
@ -30,6 +30,7 @@ def create_app(app_name=config.APP_NAME):
|
||||
# Add SQL level logging, and set the base logging level
|
||||
logging.addLevelName(25, 'SQL')
|
||||
app.logger.setLevel(logging.DEBUG)
|
||||
app.logger.handlers = []
|
||||
|
||||
# We also need to update the handler on the webserver in order to see request.
|
||||
# Setting the level prevents werkzeug from setting up it's own stream handler
|
||||
|
Loading…
Reference in New Issue
Block a user