Log service start timeout.
authorDavin McCall <davmac@davmac.org>
Mon, 19 Mar 2018 19:08:49 +0000 (19:08 +0000)
committerDavin McCall <davmac@davmac.org>
Mon, 19 Mar 2018 19:08:49 +0000 (19:08 +0000)
src/baseproc-service.cc

index ae5288e66c7a8fa33cdbdebc326220cdee8af6ba..7f363a57c1fe85efe18674ebad532e9f0ca7faac 100644 (file)
@@ -309,6 +309,7 @@ void base_process_service::timer_expired() noexcept
     }
     else if (pid != -1) {
         // Starting, start timed out.
+        log(loglevel_t::WARN, "Service ", get_name(), " with pid ", pid, " exceeded allowed start time.");
         stop_dependents();
         if (start_explicit) {
             start_explicit = false;