This commit is contained in:
@@ -106,7 +106,9 @@ 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(f'{(conn, cursor, statement, parameters, context, executemany)}')
|
logger.debug(conn)
|
||||||
|
logger.debug(cursor)
|
||||||
|
logger.debug(context)
|
||||||
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")
|
||||||
|
|||||||
Reference in New Issue
Block a user