mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6299 from Icinga/feature/event-command-visible-error-log
Change log level for failed event command execution
This commit is contained in:
commit
d0194b6331
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue