From 4fc6523b124b3c5d14146826cb63e6f5c4b5d44c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Aleksandrovi=C4=8D=20Klimov?= Date: Thu, 14 Oct 2021 12:03:45 +0200 Subject: [PATCH] InfluxdbCommonWriter#Flush(): fix log message s/InfluxdbWriter/Influxdb2Writer/ fixes #9035 --- lib/perfdata/influxdbcommonwriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }