martinzink commented on code in PR #1670:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1670#discussion_r1342552083


##########
extensions/standard-processors/processors/TailFile.cpp:
##########
@@ -499,9 +499,9 @@ bool TailFile::getStateFromLegacyStateFile(const 
std::shared_ptr<core::ProcessCo
 }
 
 void TailFile::logState() {
-  logger_->log_info("State of the TailFile processor %s:", name_);
+  logger_->log_info("State of the TailFile processor {}:", name_);
   for (const auto& [key, value] : tail_states_) {
-    core::logging::LOG_INFO(logger_) << key << " => { " << value << " }";
+    logger_->log_info("key => {{}}", value);

Review Comment:
   You are right, I've checked and thats the case, however I thought that these 
types of problems should cause compiler errors, but thats not the case 
apperently.
   
   Fixed it in 
https://github.com/apache/nifi-minifi-cpp/commit/567d679737a20f7488cc347b4afa039d90513318



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to