summaryrefslogtreecommitdiff
path: root/src/shared/json.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-17 13:59:33 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-25 20:32:18 +0900
commit9fdee66f2d9c52596823a1169261adcf5e26dc73 (patch)
treef58e4de4c6ac36ca9db3a66a37c81d94a0498aef /src/shared/json.c
parent3cc6b14a87f813bfdda36fe3ca0e65888cffd0b2 (diff)
downloadsystemd-9fdee66f2d9c52596823a1169261adcf5e26dc73.tar.gz
log: drop unused LogRealm
Already no binary is built with LOG_REALM= argument. Hence, we can safely drop LogRealm now.
Diffstat (limited to 'src/shared/json.c')
-rw-r--r--src/shared/json.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/json.c b/src/shared/json.c
index d559111248..fe32212993 100644
--- a/src/shared/json.c
+++ b/src/shared/json.c
@@ -3891,7 +3891,7 @@ int json_log_internal(
if (source && source_line > 0 && source_column > 0)
return log_struct_internal(
- LOG_REALM_PLUS_LEVEL(LOG_REALM_SYSTEMD, level),
+ level,
error,
file, line, func,
"MESSAGE_ID=" SD_MESSAGE_INVALID_CONFIGURATION_STR,
@@ -3902,7 +3902,7 @@ int json_log_internal(
NULL);
else if (source_line > 0 && source_column > 0)
return log_struct_internal(
- LOG_REALM_PLUS_LEVEL(LOG_REALM_SYSTEMD, level),
+ level,
error,
file, line, func,
"MESSAGE_ID=" SD_MESSAGE_INVALID_CONFIGURATION_STR,
@@ -3912,7 +3912,7 @@ int json_log_internal(
NULL);
else
return log_struct_internal(
- LOG_REALM_PLUS_LEVEL(LOG_REALM_SYSTEMD, level),
+ level,
error,
file, line, func,
"MESSAGE_ID=" SD_MESSAGE_INVALID_CONFIGURATION_STR,