Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-598

Incorrect message id in NativeLogger.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.4.0
    • None
    • None

    Description

      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:

      /**
       * 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
       */
      

      but also:

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

      So this message id seems to be incorrect.

      Attachments

        Issue Links

          Activity

            People

              jbertram Justin Bertram
              lionel.cons Lionel Cons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: