Less debug. Also why was this using the print() function? It should have been using the normal log.info() or whatever.

This commit is contained in:
Scott Idem
2026-01-20 19:27:16 -05:00
parent 45ca81a3e3
commit b2ee1f2760
2 changed files with 30 additions and 30 deletions

View File

@@ -316,7 +316,7 @@ def run_sql_select(
) -> Any:
log.setLevel(log_lvl)
print(f"Executing SQL: {sql} with data: {data}", flush=True)
# print(f"Executing SQL: {sql} with data: {data}", flush=True)
try:
return lib_sql_core.db.execute(sql, data)

View File

@@ -228,7 +228,7 @@ def sql_search_qry_part(
if use_random:
target_field = candidate_field
print(f"Search Trace: Mapping filter field '{f.field}' -> '{target_field}'", flush=True)
# print(f"Search Trace: Mapping filter field '{f.field}' -> '{target_field}'", flush=True)
else:
# If random doesn't exist, we must stick to the integer column
# but we'll need to resolve the string value to an integer elsewhere