activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [1/2] activemq-artemis git commit: ARTEMIS-598 fix native logger code
Date Fri, 01 Jul 2016 23:33:36 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master f680e7a02 -> db251cc20


ARTEMIS-598 fix native logger code


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/2a144bc4
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/2a144bc4
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/2a144bc4

Branch: refs/heads/master
Commit: 2a144bc4eec59390bc792bcba75992a7db4787b4
Parents: f680e7a
Author: jbertram <jbertram@apache.org>
Authored: Fri Jul 1 15:14:15 2016 -0500
Committer: jbertram <jbertram@apache.org>
Committed: Fri Jul 1 15:14:15 2016 -0500

----------------------------------------------------------------------
 .../java/org/apache/activemq/artemis/jlibaio/NativeLogger.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/2a144bc4/artemis-native/src/main/java/org/apache/activemq/artemis/jlibaio/NativeLogger.java
----------------------------------------------------------------------
diff --git a/artemis-native/src/main/java/org/apache/activemq/artemis/jlibaio/NativeLogger.java
b/artemis-native/src/main/java/org/apache/activemq/artemis/jlibaio/NativeLogger.java
index 6ebcc8f..0bd95db 100644
--- a/artemis-native/src/main/java/org/apache/activemq/artemis/jlibaio/NativeLogger.java
+++ b/artemis-native/src/main/java/org/apache/activemq/artemis/jlibaio/NativeLogger.java
@@ -25,7 +25,7 @@ import org.jboss.logging.annotations.MessageLogger;
 /**
  * Logger Code 14
  *
- * each message id must be 6 digits long starting with 14, the 3rd digit donates the level
so
+ * each message id must be 6 digits long starting with 14, the 3rd digit denotes the level
so
  *
  * INF0  1
  * WARN  2
@@ -34,7 +34,7 @@ import org.jboss.logging.annotations.MessageLogger;
  * TRACE 5
  * FATAL 6
  *
- * so an INFO message would be 1000 to 6000
+ * so an INFO message would be 141000 to 141999
  */
 @MessageLogger(projectCode = "jlibaio")
 public interface NativeLogger extends BasicLogger {
@@ -45,6 +45,6 @@ public interface NativeLogger extends BasicLogger {
    NativeLogger LOGGER = Logger.getMessageLogger(NativeLogger.class, NativeLogger.class.getPackage().getName());
 
    @LogMessage(level = Logger.Level.WARN)
-   @Message(id = 1001, value = "You have a native library with a different version than expected",
format = Message.Format.MESSAGE_FORMAT)
+   @Message(id = 143001, value = "You have a native library with a different version than
expected", format = Message.Format.MESSAGE_FORMAT)
    void incompatibleNativeLibrary();
 }


Mime
View raw message