Skip to content

Commit

Permalink
use raw CheckResult output for full_message
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Sturm committed Mar 18, 2016
1 parent 84def15 commit 37adc65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/perfdata/gelfwriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,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());
}

Expand Down Expand Up @@ -240,7 +240,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());
}

Expand Down

0 comments on commit 37adc65

Please sign in to comment.