You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/05/26 15:07:42 UTC

[2/3] camel git commit: Fix the logging event to use placeholders correctly.

Fix the logging event to use placeholders correctly.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/3c33808a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/3c33808a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/3c33808a

Branch: refs/heads/camel-2.15.x
Commit: 3c33808a022efa907da9ed7cc46674442aae40d8
Parents: 147a65d
Author: Candle <ca...@candle.me.uk>
Authored: Tue May 26 13:31:37 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue May 26 15:12:02 2015 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/aws/sqs/SqsProducer.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/3c33808a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsProducer.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsProducer.java
index 874e021..69b1eb3 100644
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsProducer.java
+++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsProducer.java
@@ -125,7 +125,7 @@ public class SqsProducer extends DefaultProducer {
                     result.put(entry.getKey(), mav);
                 } else {
                     // cannot translate the message header to message attribute value
-                    LOG.warn("Cannot put the message header key={0}, value={1} into Sqs MessageAttribute", entry.getKey(), entry.getValue());
+                    LOG.warn("Cannot put the message header key={}, value={} into Sqs MessageAttribute", entry.getKey(), entry.getValue());
                 }
             }
         }