mirror of https://github.com/Icinga/icinga2.git
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:
parent
abea2f270c
commit
629038344b
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue