]> granicus.if.org Git - icinga2/commitdiff
Change log level for failed event command execution 6299/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Fri, 11 May 2018 13:24:37 +0000 (15:24 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Fri, 11 May 2018 13:24:37 +0000 (15:24 +0200)
refs #5692

lib/methods/plugineventtask.cpp

index b8d5d7afe6d20fc9201698a32029562ed5113e94..11774c7e27efec8f27b7d92a3db61493d2a93e88 100644 (file)
@@ -60,7 +60,7 @@ void PluginEventTask::ProcessFinishedHandler(const Checkable::Ptr& checkable, co
 {
        if (pr.ExitStatus != 0) {
                Process::Arguments parguments = Process::PrepareCommand(commandLine);
-               Log(LogNotice, "PluginEventTask")
+               Log(LogWarning, "PluginEventTask")
                        << "Event command for object '" << checkable->GetName() << "' (PID: " << pr.PID
                        << ", arguments: " << Process::PrettyPrintArguments(parguments) << ") terminated with exit code "
                        << pr.ExitStatus << ", output: " << pr.Output;