summaryrefslogtreecommitdiff
path: root/src/core/job.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/job.c')
-rw-r--r--src/core/job.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/job.c b/src/core/job.c
index 94ab381626..36d6f0a456 100644
--- a/src/core/job.c
+++ b/src/core/job.c
@@ -716,8 +716,8 @@ static void job_emit_done_message(Unit *u, uint32_t job_id, JobType t, JobResult
log_unit_struct(
u,
job_done_messages[result].log_level,
- "MESSAGE=%s was skipped because all trigger condition checks failed.",
- ident,
+ LOG_MESSAGE("%s was skipped because all trigger condition checks failed.",
+ ident),
"JOB_ID=%" PRIu32, job_id,
"JOB_TYPE=%s", job_type_to_string(t),
"JOB_RESULT=%s", job_result_to_string(result),
@@ -727,11 +727,11 @@ static void job_emit_done_message(Unit *u, uint32_t job_id, JobType t, JobResult
log_unit_struct(
u,
job_done_messages[result].log_level,
- "MESSAGE=%s was skipped because of a failed condition check (%s=%s%s).",
- ident,
- condition_type_to_string(c->type),
- c->negate ? "!" : "",
- c->parameter,
+ LOG_MESSAGE("%s was skipped because of a failed condition check (%s=%s%s).",
+ ident,
+ condition_type_to_string(c->type),
+ c->negate ? "!" : "",
+ c->parameter),
"JOB_ID=%" PRIu32, job_id,
"JOB_TYPE=%s", job_type_to_string(t),
"JOB_RESULT=%s", job_result_to_string(result),