summaryrefslogtreecommitdiff
path: root/src/libnm-log-core
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2021-03-03 11:15:11 +0100
committerThomas Haller <thaller@redhat.com>2021-03-03 11:15:16 +0100
commit62727b62e0d5e9f602a869ad9c722bb06ade4577 (patch)
treef24a3b3ec1257d456f7be324ba3b8ec31fac4808 /src/libnm-log-core
parentafd55358a462020f8728b89dc7b621d57c44f58b (diff)
downloadNetworkManager-62727b62e0d5e9f602a869ad9c722bb06ade4577.tar.gz
logging: fix syslog identifier for NetworkManager
We no longer define G_LOG_DOMAIN differently for the libraries and applications. Instead, the use now all "nm". However, that also changes the syslog identifier for NetworkManager core. That is undesirable. Change it back to "NetworkManager". Fixes: 341b6e0704da ('all: change G_LOG_DOMAIN to "nm"')
Diffstat (limited to 'src/libnm-log-core')
-rw-r--r--src/libnm-log-core/nm-logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnm-log-core/nm-logging.c b/src/libnm-log-core/nm-logging.c
index b9b3391296..06f6044e69 100644
--- a/src/libnm-log-core/nm-logging.c
+++ b/src/libnm-log-core/nm-logging.c
@@ -126,7 +126,7 @@ static union {
/* nm_logging_setup ("INFO", LOGD_DEFAULT_STRING, NULL, NULL); */
.log_level = LOGL_INFO,
.log_backend = LOG_BACKEND_GLIB,
- .syslog_identifier = "SYSLOG_IDENTIFIER=" G_LOG_DOMAIN,
+ .syslog_identifier = "SYSLOG_IDENTIFIER=NetworkManager",
.prefix = "",
},
};