]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: when removing a job from a transaction, include in structured log message which
authorLennart Poettering <lennart@poettering.net>
Thu, 19 Jun 2025 08:15:35 +0000 (10:15 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 23 Jun 2025 14:47:06 +0000 (16:47 +0200)
src/core/transaction.c

index 84de9000c39a7c902448ce5d11f067d600f44594..1fe3c950e249251e4520962b287c8f9bc356ba66 100644 (file)
@@ -425,6 +425,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())