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 10:07:28 UTC
[camel] branch camel-3.1.x 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 camel-3.1.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.1.x by this push:
new dbdbd45 CAMEL-14722 - Warning message spawned by the telegram component
dbdbd45 is described below
commit dbdbd45ff3c6d551e3b4ab8002a741806ef6f285
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) {