From 99c5c24a17c7688c9e61c041d5d594150fe51763 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 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; }