InfluxdbCommonWriter#Flush(): fix log message

s/InfluxdbWriter/Influxdb2Writer/

fixes #9035
This commit is contained in:
Alexander Aleksandrovič Klimov 2021-10-14 12:03:45 +02:00 committed by GitHub
parent a7a2f4bed0
commit 99c5c24a17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
} }