mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 15:44:11 +02:00
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…
x
Reference in New Issue
Block a user