summaryrefslogtreecommitdiff
path: root/src/core/manager.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-05-12 17:21:51 +0200
committerTom Gundersen <teg@jklm.no>2015-05-12 17:25:44 +0200
commit34959677900a45aa67f511e828c68167f8a7c816 (patch)
treefa1442bdb2cd7c5644b14f6659ab398dfd35490b /src/core/manager.c
parent005e945cc454c07fac381d59a6e0fe810eb1107b (diff)
core: drop redundant logging about notification messages
Before: May 12 17:11:22 tomegun-x2402 systemd[1]: systemd-udevd.service: Got notification message for unit. May 12 17:11:22 tomegun-x2402 systemd[1]: systemd-udevd.service: Got notification message from PID 195 (READY=1) May 12 17:11:22 tomegun-x2402 systemd[1]: systemd-udevd.service: Ggot READY=1 After: May 12 17:11:22 tomegun-x2402 systemd[1]: systemd-udevd.service: Got notification message from PID 195 (READY=1)
Diffstat (limited to 'src/core/manager.c')
-rw-r--r--src/core/manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/manager.c b/src/core/manager.c
index 28b9427b9d..e547f718fb 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -1496,10 +1496,10 @@ static void manager_invoke_notify_message(Manager *m, Unit *u, pid_t pid, char *
return;
}
- log_unit_debug(u, "Got notification message for unit.");
-
if (UNIT_VTABLE(u)->notify_message)
UNIT_VTABLE(u)->notify_message(u, pid, tags, fds);
+ else
+ log_unit_debug(u, "Got notification message for unit. Ignoring.");
}
static int manager_dispatch_notify_fd(sd_event_source *source, int fd, uint32_t revents, void *userdata) {