You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pa...@apache.org on 2018/08/10 16:27:56 UTC
[camel] 02/02: camel-smpp: SmppBinding: minimal corrections to
debug level logging
This is an automated email from the ASF dual-hosted git repository.
pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 81821be9900516552d5a8fa2342509defdefdfab
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Fri Aug 10 18:27:36 2018 +0200
camel-smpp: SmppBinding: minimal corrections to debug level logging
---
.../src/main/java/org/apache/camel/component/smpp/SmppBinding.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppBinding.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppBinding.java
index aa97614..36089fa 100644
--- a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppBinding.java
+++ b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppBinding.java
@@ -203,10 +203,10 @@ public class SmppBinding {
optParams.put(valueOfTag.toString(), null);
}
} else {
- LOG.debug("Skipping optional parameter with tag {} because it was not recogized", optPara.tag);
+ LOG.debug("Skipping optional parameter with tag {} because it was not recognized", optPara.tag);
}
} catch (IllegalArgumentException e) {
- LOG.debug("Skipping optional parameter with tag {} due " + e.getMessage(), optPara.tag);
+ LOG.debug("Skipping optional parameter with tag {} due to {}", optPara.tag, e.getMessage());
}
}