You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Lionel Cons (JIRA)" <ji...@apache.org> on 2016/06/27 07:57:52 UTC

[jira] [Created] (ARTEMIS-598) Incorrect message id in NativeLogger.java

Lionel Cons created ARTEMIS-598:
-----------------------------------

             Summary: Incorrect message id in NativeLogger.java
                 Key: ARTEMIS-598
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-598
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Lionel Cons


All the message ids are 6 digits long except in {{artemis-native/src/main/java/org/apache/activemq/artemis/jlibaio/NativeLogger.java}} where the code contains:

{code}
/**
 * Logger Code 14
 *
 * each message id must be 6 digits long starting with 14, the 3rd digit donates the level so
 *
 * INF0  1
 * WARN  2
 * DEBUG 3
 * ERROR 4
 * TRACE 5
 * FATAL 6
 *
 * so an INFO message would be 1000 to 6000
 */
{code}

but also:

{code}
   @Message(id = 1001, value = "You have a native library with a different version than expected", format = Message.Format.MESSAGE_FORMAT)
{code}

So this message id seems to be incorrect.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)