Merge pull request #10009 from Icinga/Al2Klimov-patch-13

OpenTsdbWriter#CheckResultHandler(): clarify log messages
This commit is contained in:
Alexander Aleksandrovič Klimov 2024-02-22 12:31:09 +01:00 committed by GitHub
commit d551eaea27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}
@ -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 {