From 430e505bd24f04d4667d01f6da84f04bcdce2bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 25 Oct 2020 16:04:47 +0100 Subject: [PATCH] =?UTF-8?q?module/script:=20remove=20debug=20output=20that?= =?UTF-8?q?=20wasn=E2=80=99t=20actually=20using=20LOG=5FDBG()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/script.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/script.c b/modules/script.c index 9e5babe..ae92b88 100644 --- a/modules/script.c +++ b/modules/script.c @@ -61,7 +61,6 @@ static struct tag * process_line(struct module *mod, const char *line, size_t len) { const char *_name = line; - LOG_INFO("LINE: %.*s", (int)len, line); const char *type = memchr(line, '|', len); if (type == NULL) @@ -425,13 +424,12 @@ run(struct module *mod) return -1; } - LOG_WARN("child running under PID=%u", pid); + LOG_DBG("script running under PID=%u", pid); int ret = run_loop(mod, comm_pipe[0]); close(comm_pipe[0]); if (waitpid(pid, NULL, WNOHANG) == 0) { - LOG_WARN("sending SIGTERM to PGRP=%u", pid); killpg(pid, SIGTERM); /* TODO: send SIGKILL after X seconds */