summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-03-28 11:04:27 +0200
committerThomas Haller <thaller@redhat.com>2023-04-03 10:27:43 +0200
commitf9c409d34cfd3a18b520fd5ddeb6693837fc7ffc (patch)
treed1927ec1dd8086c728549c946f1b8e6e9bca51b4
parentf74109e4b03f365ab72d7ff0035e264f38320e98 (diff)
core: qualify logging lines related to helper with "nm-daemon-helper"
Seems to be the better name, because that is also the name of the executable.
-rw-r--r--src/core/nm-core-utils.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/core/nm-core-utils.c b/src/core/nm-core-utils.c
index 19027ef96f..e3538a5079 100644
--- a/src/core/nm-core-utils.c
+++ b/src/core/nm-core-utils.c
@@ -4877,7 +4877,7 @@ typedef struct {
gsize out_buffer_offset;
} HelperInfo;
-#define _NMLOG2_PREFIX_NAME "helper"
+#define _NMLOG2_PREFIX_NAME "nm-daemon-helper"
#define _NMLOG2_DOMAIN LOGD_CORE
#define _NMLOG2(level, info, ...) \
G_STMT_START \
@@ -4919,13 +4919,7 @@ helper_info_free(gpointer data)
if (info->pid != -1) {
nm_assert(info->pid > 1);
- nm_utils_kill_child_async(info->pid,
- SIGKILL,
- LOGD_CORE,
- _NMLOG2_PREFIX_NAME,
- 0,
- NULL,
- NULL);
+ nm_utils_kill_child_async(info->pid, SIGKILL, LOGD_CORE, "nm-daemon-helper", 0, NULL, NULL);
}
g_free(info);