mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-25 08:21:04 -06:00
Ignore exceptions in the logger. Fixes #3933
This commit is contained in:
parent
acb61f0990
commit
bbeb395beb
@ -32,6 +32,7 @@ Bug fixes
|
||||
| `Bug #3873 <https://redmine.postgresql.org/issues/3873>`_ - Fix context sub-menu alignment on Safari.
|
||||
| `Bug #3906 <https://redmine.postgresql.org/issues/3906>`_ - Fix alignment of Close and Maximize button of Grant Wizard.
|
||||
| `Bug #3912 <https://redmine.postgresql.org/issues/3912>`_ - Fix editing of table data with a JSON primary key.
|
||||
| `Bug #3933 <https://redmine.postgresql.org/issues/3933>`_ - Ignore exceptions in the logger.
|
||||
| `Bug #3942 <https://redmine.postgresql.org/issues/3942>`_ - Close connections gracefully when the user logs out of pgAdmin.
|
||||
| `Bug #3946 <https://redmine.postgresql.org/issues/3946>`_ - Fix alignment of checkbox to drop multiple schedules of pgAgent job.
|
||||
| `Bug #3958 <https://redmine.postgresql.org/issues/3958>`_ - Don't exclude SELECT statements from transaction management in the Query Tool in case they call data-modifying functions.
|
||||
|
@ -213,6 +213,10 @@ def create_app(app_name=None):
|
||||
# Setup logging and log the application startup
|
||||
##########################################################################
|
||||
|
||||
# We won't care about errors in the logging system, we are more
|
||||
# interested in application errors.
|
||||
logging.raiseException = False
|
||||
|
||||
# Add SQL level logging, and set the base logging level
|
||||
logging.addLevelName(25, 'SQL')
|
||||
app.logger.setLevel(logging.DEBUG)
|
||||
|
Loading…
Reference in New Issue
Block a user