You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/03/16 09:47:24 UTC
[camel] branch master updated: CAMEL-14722 - Warning message
spawned by the telegram component
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new dcdc32c CAMEL-14722 - Warning message spawned by the telegram component
dcdc32c is described below
commit dcdc32ce5ba286655ab66e579b1c3215b0aa81fc
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 16 10:46:37 2020 +0100
CAMEL-14722 - Warning message spawned by the telegram component
---
.../component/telegram/service/TelegramServiceRestBotAPIAdapter.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/service/TelegramServiceRestBotAPIAdapter.java b/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/service/TelegramServiceRestBotAPIAdapter.java
index ebd31de..61c2b62 100644
--- a/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/service/TelegramServiceRestBotAPIAdapter.java
+++ b/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/service/TelegramServiceRestBotAPIAdapter.java
@@ -156,8 +156,8 @@ public class TelegramServiceRestBotAPIAdapter implements TelegramService {
if (code >= 200 && code < 300) {
try {
final String responseBody = response.getResponseBody();
- if (LOG.isWarnEnabled()) {
- LOG.warn("Received body for {} {}: {}", request.getMethod(), request.getUrl(), responseBody);
+ if (LOG.isTraceEnabled()) {
+ LOG.trace("Received body for {} {}: {}", request.getMethod(), request.getUrl(), responseBody);
}
return mapper.readValue(responseBody, resultType);
} catch (IOException e) {