mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 08:04:14 +02:00
InfluxdbCommonWriter#Flush(): fix log message
s/InfluxdbWriter/Influxdb2Writer/ fixes #9035
This commit is contained in:
parent
a7a2f4bed0
commit
99c5c24a17
@ -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