diff --git a/lib/perfdata/influxdbcommonwriter.cpp b/lib/perfdata/influxdbcommonwriter.cpp index 1aafffced..90e278ae0 100644 --- a/lib/perfdata/influxdbcommonwriter.cpp +++ b/lib/perfdata/influxdbcommonwriter.cpp @@ -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; }