OpenTsdbWriter#CheckResultHandler(): clarify log messages

Clarify which "host or service" an "Unable to resolve macro" debug log message refers to.
This commit is contained in:
Alexander Aleksandrovič Klimov 2024-02-22 10:34:35 +01:00 committed by GitHub
parent abea2f270c
commit 629038344b
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()) { if (!missing_macro.IsEmpty()) {
Log(LogDebug, "OpenTsdbWriter") Log(LogDebug, "OpenTsdbWriter")
<< "Unable to resolve macro:'" << missing_macro << "Unable to resolve macro '" << missing_macro
<< "' for this host or service."; << "' for checkable '" << checkable->GetName() << "'.";
continue; continue;
} }
@ -227,8 +227,8 @@ void OpenTsdbWriter::CheckResultHandler(const Checkable::Ptr& checkable, const C
if (!missing_macro.IsEmpty()) { if (!missing_macro.IsEmpty()) {
Log(LogDebug, "OpenTsdbWriter") Log(LogDebug, "OpenTsdbWriter")
<< "Unable to resolve macro:'" << missing_macro << "Unable to resolve macro '" << missing_macro
<< "' for this host or service."; << "' for checkable '" << checkable->GetName() << "'.";
} }
else { else {