GelfWriter: Use raw CheckResult output for full_message attribute

fixes #10903

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
This commit is contained in:
Marius Sturm 2016-03-18 23:44:46 +01:00 committed by Michael Friedrich
parent 9f425cdcaf
commit 451cd73749
1 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ void GelfWriter::CheckResultHandler(const Checkable::Ptr& checkable, const Check
if (cr) {
fields->Set("short_message", CompatUtility::GetCheckResultOutput(cr));
fields->Set("full_message", CompatUtility::GetCheckResultLongOutput(cr));
fields->Set("full_message", cr->GetOutput());
fields->Set("_check_source", cr->GetCheckSource());
}
@ -243,7 +243,7 @@ void GelfWriter::StateChangeHandler(const Checkable::Ptr& checkable, const Check
if (cr) {
fields->Set("short_message", CompatUtility::GetCheckResultOutput(cr));
fields->Set("full_message", CompatUtility::GetCheckResultLongOutput(cr));
fields->Set("full_message", cr->GetOutput());
fields->Set("_check_source", cr->GetCheckSource());
}