[
https://issues.apache.org/jira/browse/ARTEMIS-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16107172#comment-16107172
]
ASF GitHub Bot commented on ARTEMIS-1311:
-----------------------------------------
GitHub user treblereel opened a pull request:
https://github.com/apache/activemq-artemis/pull/1430
[ARTEMIS-1311] Log messages without prefixed id code in artemis-core-…
…client
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1311
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/treblereel/activemq-artemis-wildfly
IMPROVE_LOGGING_ARTEMIS_CORE_CLIENT
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1430.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1430
----
commit cfdce663ddb48d88a6460df5e47207919a8441bd
Author: Dmitrii Tikhomirov <[email protected]>
Date: 2017-07-27T12:12:31Z
[ARTEMIS-1311] Log messages without prefixed id code in artemis-core-client
----
> Log messages without prefixed id code in artemis-core-client
> ------------------------------------------------------------
>
> Key: ARTEMIS-1311
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1311
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.1.0
> Reporter: Dmitrii Tikhomirov
> Priority: Minor
> Fix For: 2.2.0
>
>
> Run following command in artemis-core-client directory
> {code}
> [treblereel@dhcp-10-40-4-236 artemis-core-client]$ find -name "*.java" | grep
> -i -E -v "test|example|junit" | xargs grep -i -E
> "LOG(GER)*\.error\(|LOG(GER)*\.warn\(|LOG(GER)*\.info\("
> ./src/main/java/org/apache/activemq/artemis/core/cluster/DiscoveryGroup.java:
> ActiveMQClientLogger.LOGGER.warn("Unexpected null data
> received from DiscoveryEndpoint");
> ./src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/RemotingConnectionImpl.java:
> ActiveMQClientLogger.LOGGER.warn(e.getMessage(), e);
> ./src/main/java/org/apache/activemq/artemis/core/client/impl/ClientConsumerImpl.java:
> ActiveMQClientLogger.LOGGER.warn("problem cleaning up: " + this);
> ./src/main/java/org/apache/activemq/artemis/core/client/impl/ClientConsumerImpl.java:
> ActiveMQClientLogger.LOGGER.warn(e.getMessage(), e);
> ./src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java:
> ActiveMQClientLogger.LOGGER.warn(e.getMessage(), e);
> ./src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java:
> logger.warn(t.getMessage(), t);
> ./src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnection.java:
> ActiveMQClientLogger.LOGGER.warn(logOnly.getMessage(),
> logOnly);
> ./src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnection.java:
> ActiveMQClientLogger.LOGGER.warn(e.getMessage(), e);
> ./src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnection.java:
> logger.warn("Trying to allocate " + size + " bytes, System is
> throwing OutOfMemoryError on NettyConnection " + this + ", there are
> currently " + "pendingWrites: [NETTY] -> " + totalPendingWriteBytes + "[EVENT
> LOOP] -> " + pendingWritesOnEventLoopView.get() + " causes: " +
> oom.getMessage(), oom);
> ./src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnection.java:
> logger.warn("FAILURE! The code is using blockUntilWritable inside
> a Netty worker, which would block. " +
> ./src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java:
> ActiveMQClientLogger.LOGGER.error("Cannot resolve host", e);
> ./src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/Epoll.java:
> logger.warn(e.getMessage(), e);
> ./src/main/java/org/apache/activemq/artemis/utils/VersionLoader.java:
> ActiveMQClientLogger.LOGGER.warn(e.getMessage(), e);
> ./src/main/java/org/apache/activemq/artemis/utils/VersionLoader.java:
> ActiveMQClientLogger.LOGGER.error(e.getMessage(), e);
> ./src/main/java/org/apache/activemq/artemis/api/core/client/ActiveMQClient.java:
> ActiveMQClientLogger.LOGGER.warn("Couldn't finish the client
> globalThreadPool in less than 10 seconds, interrupting it now");
> ./src/main/java/org/apache/activemq/artemis/api/core/client/ActiveMQClient.java:
> ActiveMQClientLogger.LOGGER.warn("Couldn't finish the client
> scheduled in less than 10 seconds, interrupting it now");
> ./src/main/java/org/apache/activemq/artemis/api/core/UDPBroadcastEndpointFactory.java:
> ActiveMQClientLogger.LOGGER.warn(this + " getting exception
> when receiving broadcasting.", e);
> ./src/main/java/org/apache/activemq/artemis/api/core/UDPBroadcastEndpointFactory.java:
> ActiveMQClientLogger.LOGGER.warn(t);
> ./src/main/java/org/apache/activemq/artemis/api/core/UDPBroadcastEndpointFactory.java:
> ActiveMQClientLogger.LOGGER.warn(t.getMessage(), t);
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)