Skip to content

Commit 3865bd8

Browse files
committed
Send job id to logger
1 parent 047b301 commit 3865bd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server/pipeline/match_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def start(connection, added_or_updated_rows):
1717

1818
job_id = str(int(time.time()))
1919
log_db.log_exec_status(job_id,{'status': 'starting', 'at_row': 0, 'of_rows':0})
20+
current_app.logger.info("Running execute job ID " + job_id)
2021
items_to_update = pd.concat([added_or_updated_rows["new"], added_or_updated_rows["updated"]], ignore_index=True)
2122
pdp_contacts = pd.read_sql_table('pdp_contacts', connection)
2223

0 commit comments

Comments
 (0)