diff --git a/lib/perfdata/influxdbcommonwriter.cpp b/lib/perfdata/influxdbcommonwriter.cpp index f34ef6710..98eb453b7 100644 --- a/lib/perfdata/influxdbcommonwriter.cpp +++ b/lib/perfdata/influxdbcommonwriter.cpp @@ -455,7 +455,7 @@ void InfluxdbCommonWriter::FlushWQ() 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; }