log about not being able to get process group with INFO not WARN.
authorDavin McCall <davmac@davmac.org>
Fri, 24 May 2019 08:59:44 +0000 (18:59 +1000)
committerDavin McCall <davmac@davmac.org>
Fri, 24 May 2019 09:03:26 +0000 (19:03 +1000)
src/baseproc-service.cc

index a0d41651a7159af619635a3c0a8221d7e9cc2028..a413ebea7a2a5fdc562f85de2b0c69794d962477 100644 (file)
@@ -333,9 +333,9 @@ void base_process_service::kill_pg(int signo) noexcept
         if (pgid == -1) {
             // On some OSes (eg OpenBSD) we aren't allowed to get the pgid of a process in a different
             // session. Just kill the process in that case.
-            log(loglevel_t::WARN, get_name(), ": can't signal process group: ", strerror(errno));
-            log(loglevel_t::WARN, get_name(), ": will signal process only "
-                    "(consider using option = signal-process-only)");
+            log(loglevel_t::INFO, get_name(), ": can't signal process group: ", strerror(errno));
+            log(loglevel_t::INFO, get_name(), ": will signal process only "
+                    "(consider using 'options = signal-process-only')");
 
             bp_sys::kill(pid, signo);
             return;