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:
Michael Friedrich 2018-05-11 15:55:15 +02:00 committed by GitHub
commit d0194b6331
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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;