This commit is contained in:
parent
556857fc28
commit
6bc4fe42c4
|
@ -106,7 +106,9 @@ def after_cursor_execute(conn, cursor, statement, parameters, context, executema
|
|||
if parameters
|
||||
else f'{statement}'.replace('\n', ' ')
|
||||
)
|
||||
logger.debug(f'{(conn, cursor, statement, parameters, context, executemany)}')
|
||||
logger.debug(conn)
|
||||
logger.debug(cursor)
|
||||
logger.debug(context)
|
||||
if elapsed > 1:
|
||||
conn.last_statement = str(statement)
|
||||
logger.debug(f"\n{query}\n{'*' * math.floor(elapsed)} {elapsed:.3f} s\n")
|
||||
|
|
Loading…
Reference in New Issue
Block a user