Made changes to drop logging if program is being terminated. Credit to dvarrazzo

This commit is contained in:
Sharvil Patankar 2024-02-06 14:23:27 -05:00
parent f511222705
commit 90cb3bb96a

View File

@ -409,6 +409,8 @@ class LoggingConnection(_connection):
"""
Public interface of the log method defined in initialize
"""
log = self._log()
if log:
return self._log()(*args, **kwargs)
def filter(self, msg, curs):