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: 341b6e0704 ('all: change G_LOG_DOMAIN to "nm"')
This commit is contained in:
Thomas Haller 2021-03-03 11:15:11 +01:00
parent afd55358a4
commit 62727b62e0
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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 = "",
},
};