You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ph...@apache.org on 2019/02/08 14:03:07 UTC

[nifi-minifi-cpp] branch master updated: MINIFICPP-722: Fix log statement that was printing incorrect values because the format was incorrect

This is an automated email from the ASF dual-hosted git repository.

phrocker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git


The following commit(s) were added to refs/heads/master by this push:
     new 3e18261  MINIFICPP-722: Fix log statement that was printing incorrect values because the format was incorrect
3e18261 is described below

commit 3e18261ace4781bd8bc962337a8457cf81158560
Author: Marc Parisi <ph...@apache.org>
AuthorDate: Mon Jan 28 15:16:11 2019 -0500

    MINIFICPP-722: Fix log statement that was printing incorrect values because the format was incorrect
    
    This closes #478.
    
    Approved by Arpad on GH.
    
    Signed-off-by: Marc Parisi <ph...@apache.org>
---
 libminifi/src/core/ConfigurableComponent.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libminifi/src/core/ConfigurableComponent.cpp b/libminifi/src/core/ConfigurableComponent.cpp
index ab1864d..cba7f4c 100644
--- a/libminifi/src/core/ConfigurableComponent.cpp
+++ b/libminifi/src/core/ConfigurableComponent.cpp
@@ -141,7 +141,7 @@ bool ConfigurableComponent::setProperty(Property &prop, PropertyValue &value) {
       new_property.setValue(value);
       properties_[new_property.getName()] = new_property;
       onPropertyModified(orig_property, new_property);
-      logger_->log_debug("property name %s value %s and new value is %s", prop.getName(), new_property.getName(), value, new_property.getValue().to_string());
+      logger_->log_debug("property name %s value %s and new value is %s", prop.getName(), new_property.getName(), new_property.getValue().to_string());
       return true;
     } else {
       // Should not attempt to update dynamic properties here since the return code