From 278c7749542ba652bb27d33ced17b90a2a8dbb9a Mon Sep 17 00:00:00 2001 From: Adam Wegrzynek Date: Fri, 10 Nov 2023 11:34:39 +0100 Subject: [PATCH] add log message --- examples/12-KafkaToInfluxDb.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/12-KafkaToInfluxDb.cxx b/examples/12-KafkaToInfluxDb.cxx index 5122a86b..1e594b47 100644 --- a/examples/12-KafkaToInfluxDb.cxx +++ b/examples/12-KafkaToInfluxDb.cxx @@ -82,6 +82,7 @@ int main(int argc, char* argv[]) if (run > 1) { influxdbBackend->sendWithRun(metric, stateChange.envinfo().environmentid(), std::to_string(run)); if (vm.count("influxdb-orgid")) { + MonLogger::Get() << "Request sent to create bucket " << stateChange.envinfo().runnumber() << " on " << vm["influxdb-url"].as() << MonLogger::End(); influxBucketApi->send(getCreateBucketBody(vm["influxdb-orgid"].as(), stateChange.envinfo().runnumber())); } }