mirror of https://github.com/Icinga/icinga2.git
Merge pull request #9037 from Icinga/Al2Klimov-patch-4
InfluxdbCommonWriter#Flush(): fix log message
This commit is contained in:
commit
d09925189a
|
@ -460,7 +460,7 @@ void InfluxdbCommonWriter::Flush()
|
||||||
try {
|
try {
|
||||||
stream = Connect();
|
stream = Connect();
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
Log(LogWarning, "InfluxDbWriter")
|
Log(LogWarning, GetReflectionType()->GetName())
|
||||||
<< "Flush failed, cannot connect to InfluxDB: " << DiagnosticInformation(ex, false);
|
<< "Flush failed, cannot connect to InfluxDB: " << DiagnosticInformation(ex, false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue