From 5b19784b251aa45dd1daae8ef4e59eba192f8e25 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Fri, 11 May 2018 15:24:37 +0200 Subject: [PATCH] Change log level for failed event command execution refs #5692 --- lib/methods/plugineventtask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/methods/plugineventtask.cpp b/lib/methods/plugineventtask.cpp index b8d5d7afe..11774c7e2 100644 --- a/lib/methods/plugineventtask.cpp +++ b/lib/methods/plugineventtask.cpp @@ -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; -- 2.40.0