[
https://issues.apache.org/jira/browse/ROCKETMQ-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15818110#comment-15818110
]
ASF GitHub Bot commented on ROCKETMQ-6:
---------------------------------------
Github user wu-sheng commented on a diff in the pull request:
https://github.com/apache/incubator-rocketmq/pull/3#discussion_r95564265
--- Diff:
broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java
---
@@ -87,8 +87,8 @@ private RemotingCommand processRequest(final Channel
channel, RemotingCommand re
response.setOpaque(request.getOpaque());
- if (LOG.isDebugEnabled()) {
- LOG.debug("receive PullMessage request command, {}", request);
+ if (log.isDebugEnabled()) {
--- End diff --
No related, just think you can change
> Use logger for exceptions instead of e.printStackTrace()
> --------------------------------------------------------
>
> Key: ROCKETMQ-6
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-6
> Project: Apache RocketMQ
> Issue Type: Improvement
> Reporter: Roman Shtykh
> Assignee: Roman Shtykh
> Fix For: 4.1.0-incubating
>
>
> Replace {{e.printStackTrace()}} with {{log.error(...)}} in all core modules,
> except tests, tools and examples.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)