Skip to content

Commit

Permalink
Merge pull request #10009 from Icinga/Al2Klimov-patch-13
Browse files Browse the repository at this point in the history
OpenTsdbWriter#CheckResultHandler(): clarify log messages
  • Loading branch information
Al2Klimov authored Feb 22, 2024
2 parents abea2f2 + 6290383 commit d551eae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/perfdata/opentsdbwriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ void OpenTsdbWriter::CheckResultHandler(const Checkable::Ptr& checkable, const C

if (!missing_macro.IsEmpty()) {
Log(LogDebug, "OpenTsdbWriter")
<< "Unable to resolve macro:'" << missing_macro
<< "' for this host or service.";
<< "Unable to resolve macro '" << missing_macro
<< "' for checkable '" << checkable->GetName() << "'.";

continue;
}
Expand All @@ -227,8 +227,8 @@ void OpenTsdbWriter::CheckResultHandler(const Checkable::Ptr& checkable, const C

if (!missing_macro.IsEmpty()) {
Log(LogDebug, "OpenTsdbWriter")
<< "Unable to resolve macro:'" << missing_macro
<< "' for this host or service.";
<< "Unable to resolve macro '" << missing_macro
<< "' for checkable '" << checkable->GetName() << "'.";

}
else {
Expand Down

0 comments on commit d551eae

Please sign in to comment.