summaryrefslogtreecommitdiff
path: root/src/socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-17 04:17:30 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-17 04:17:30 +0200
commit92abbefbefb0adafb6714c8d8f9d25bc8280a2f7 (patch)
treebd670afaa3414511c1b71bf021e86d391cdcddd3 /src/socket.c
parentfaf919f1ebebdfc13f769bb6585e64e7ad4b301b (diff)
execute: bump up log level of executed processes that failed
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index 257a4e959a..4cf21cf0b1 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -1535,7 +1535,8 @@ static void socket_sigchld_event(Unit *u, pid_t pid, int code, int status) {
success = true;
}
- log_debug("%s control process exited, code=%s status=%i", u->meta.id, sigchld_code_to_string(code), status);
+ log_full(success ? LOG_DEBUG : LOG_NOTICE,
+ "%s control process exited, code=%s status=%i", u->meta.id, sigchld_code_to_string(code), status);
s->failure = s->failure || !success;
if (s->control_command && s->control_command->command_next && success) {