camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [3/3] camel git commit: Fix the logging event to use placeholders correctly.
Date Tue, 26 May 2015 13:07:43 GMT
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/8941953a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8941953a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8941953a

Branch: refs/heads/camel-2.14.x
Commit: 8941953ae0510e79382462c01b28d8bc2a24a67d
Parents: 5ae4a90
Author: Candle <candle@candle.me.uk>
Authored: Tue May 26 13:31:37 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue May 26 15:12:15 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/8941953a/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());
                 }
             }
         }


Mime
View raw message