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

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

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

Justin Bertram resolved ARTEMIS-598.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

> Incorrect message id in NativeLogger.java
> -----------------------------------------
>
>                 Key: ARTEMIS-598
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-598
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Lionel Cons
>            Assignee: Justin Bertram
>             Fix For: 1.4.0
>
>
> 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)