dblog-debug2
All checks were successful
Deploy on push / deploy (push) Successful in 22s

This commit is contained in:
Untone 2024-03-28 16:28:17 +03:00
parent 23fb4227ad
commit 556857fc28

View File

@ -106,7 +106,7 @@ def after_cursor_execute(conn, cursor, statement, parameters, context, executema
if parameters
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:
conn.last_statement = str(statement)
logger.debug(f"\n{query}\n{'*' * math.floor(elapsed)} {elapsed:.3f} s\n")