[ 
https://issues.apache.org/jira/browse/ARTEMIS-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352442#comment-16352442
 ] 

ASF GitHub Bot commented on ARTEMIS-1662:
-----------------------------------------

Github user michaelandrepearce commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1852#discussion_r165983987
  
    --- Diff: 
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/ActiveMQClientLogger.java
 ---
    @@ -64,7 +64,7 @@
        @Message(id = 211001, value = "session created", format = 
Message.Format.MESSAGE_FORMAT)
        void dumpingSessionStack(@Cause Exception e);
     
    -   @LogMessage(level = Logger.Level.INFO)
    +   @LogMessage(level = Logger.Level.DEBUG)
    --- End diff --
    
    Probably one option would be to make NettyConnector take a boolean value 
isServerConnection or something, then later 
    
          if (isServerConnection) {
             
ActiveMQClientLogger.LOGGER.startedServerNettyConnector(connectorType,  
TransportConstants.NETTY_VERSION, host, port);
          } else {
             ActiveMQClientLogger.LOGGER.startedNettyConnector(connectorType,  
TransportConstants.NETTY_VERSION, host, port);
          }
    
    Where the startedServerNettyConnector could log at DEBUG


> Reduce log of "INFO [org.apache.activemq.artemis.core.client] (Thread-27 
> (ActiveMQ-client-global-threads)) AMQ211002: Started EPOLL Netty Connector 
> version unknown to ..." to DEBUG
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1662
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1662
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 2.2.0
>            Reporter: Dmitrii Tikhomirov
>            Priority: Major
>
> Information of starting connector is now logged on INFO level which 
> over-floods server logs:
> {code}
> 05:46:05,073 INFO [org.apache.activemq.artemis.core.client] (Thread-27 
> (ActiveMQ-client-global-threads)) AMQ211002: Started EPOLL Netty Connector 
> version unknown to rhel7-large-461:8080
> {code}
> It should be decresed to DEBUG level.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to