Merge pull request #9037 from Icinga/Al2Klimov-patch-4

InfluxdbCommonWriter#Flush(): fix log message
This commit is contained in:
Julian Brost 2021-11-19 17:09:05 +01:00 committed by GitHub
commit d09925189a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ void InfluxdbCommonWriter::Flush()
try {
stream = Connect();
} catch (const std::exception& ex) {
Log(LogWarning, "InfluxDbWriter")
Log(LogWarning, GetReflectionType()->GetName())
<< "Flush failed, cannot connect to InfluxDB: " << DiagnosticInformation(ex, false);
return;
}