From: Lennart Poettering Date: Fri, 14 Feb 2014 01:05:40 +0000 (+0100) Subject: service: when we complain about a notify message we cannot map to main pid because... X-Git-Tag: v209~139 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=3a33e61d2df24b6b2dec6176930562f93b3c4347 service: when we complain about a notify message we cannot map to main pid because we don't know anything about the main pid, do so at debug level --- diff --git a/src/core/service.c b/src/core/service.c index 5c6b63865..51297846f 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -3354,7 +3354,7 @@ static void service_notify_message(Unit *u, pid_t pid, char **tags) { if (s->main_pid != 0) log_warning_unit(u->id, "%s: Got notification message from PID "PID_FMT", but reception only permitted for main PID "PID_FMT, u->id, pid, s->main_pid); else - log_warning_unit(u->id, "%s: Got notification message from PID "PID_FMT", but reception only permitted for main PID which is currently not known", u->id, pid); + log_debug_unit(u->id, "%s: Got notification message from PID "PID_FMT", but reception only permitted for main PID which is currently not known", u->id, pid); return; }