[ 
https://issues.apache.org/jira/browse/ARTEMIS-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram resolved ARTEMIS-1311.
-------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 2.2.0)
                   2.3.0

> 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.3.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)

Reply via email to