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