summaryrefslogtreecommitdiff
path: root/src/shared/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/log.c')
-rw-r--r--src/shared/log.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/log.c b/src/shared/log.c
index a648b83785..da5309888c 100644
--- a/src/shared/log.c
+++ b/src/shared/log.c
@@ -466,12 +466,14 @@ static int write_to_journal(
"CODE_FILE=%s\n"
"CODE_LINE=%i\n"
"CODE_FUNCTION=%s\n"
+ "SYSLOG_IDENTIFIER=%s\n"
"MESSAGE=",
LOG_PRI(level),
LOG_FAC(level),
file,
line,
- func);
+ func,
+ program_invocation_short_name);
char_array_0(header);