From 3abe78b84aad528586b437033228a052152c300a Mon Sep 17 00:00:00 2001 From: zakhy <=> Date: Mon, 17 Feb 2025 13:07:50 +0700 Subject: [PATCH] log --- apps/schedulers/tasks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/schedulers/tasks.py b/apps/schedulers/tasks.py index 25a2cfb..a82be93 100644 --- a/apps/schedulers/tasks.py +++ b/apps/schedulers/tasks.py @@ -590,8 +590,10 @@ def load_asd(): cursor = connection.cursor() cursor.execute(sql_query) - + logging.message(f"ALARMS",) + logging.message(f"cursor\n{cursor}",) for data in cursor: + logging.message(f"row\n{data}", ) alarmid = data[0] objid = data[1] lat = 0.0 if data[2] is None else data[2]