From 115bb1c4d76b4b2ccd9f400b342facb610ec820d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 19 Jun 2025 10:15:35 +0200 Subject: [PATCH] core: when removing a job from a transaction, include in structured log message which (cherry picked from commit becbd2ec4e00aafb656ebc4b2977c1f62adc2ee8) Related: RHEL-100353 --- src/core/transaction.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/transaction.c b/src/core/transaction.c index 3f62cfd79b..f61ab26bf8 100644 --- a/src/core/transaction.c +++ b/src/core/transaction.c @@ -423,6 +423,8 @@ static int transaction_verify_order_one(Transaction *tr, Job *j, Job *from, unsi delete->unit->id, job_type_to_string(delete->type), j->unit->id, job_type_to_string(j->type)), LOG_MESSAGE_ID(SD_MESSAGE_DELETING_JOB_BECAUSE_ORDERING_CYCLE_STR), + LOG_ITEM("DELETED_UNIT=%s", delete->unit->id), + LOG_ITEM("DELETED_TYPE=%s", job_type_to_string(delete->type)), LOG_ITEM("%s", strna(unit_ids))); if (log_get_show_color())