[hornetq-commits] JBoss hornetq SVN: r12305 - in branches/i18n_logging: hornetq-bootstrap/src/main/java/org/hornetq/integration/bootstrap and 14 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Mar 15 10:32:32 EDT 2012


Author: ataylor
Date: 2012-03-15 10:32:31 -0400 (Thu, 15 Mar 2012)
New Revision: 12305

Added:
   branches/i18n_logging/hornetq-bootstrap/src/main/java/org/hornetq/integration/bootstrap/HornetQBootstrapBundle.java
   branches/i18n_logging/hornetq-bootstrap/src/main/java/org/hornetq/integration/bootstrap/HornetQBootstrapLogger.java
   branches/i18n_logging/hornetq-commons/src/main/java/org/hornetq/utils/HornetQUtilBundle.java
   branches/i18n_logging/hornetq-commons/src/main/java/org/hornetq/utils/HornetQUtilLogger.java
   branches/i18n_logging/hornetq-jboss-as-integration/src/main/java/org/hornetq/integration/jboss/HornetQJBossBundle.java
   branches/i18n_logging/hornetq-jboss-as-integration/src/main/java/org/hornetq/integration/jboss/HornetQJBossLogger.java
   branches/i18n_logging/hornetq-jms/src/main/java/org/hornetq/jms/HornetQJMSBundle.java
   branches/i18n_logging/hornetq-jms/src/main/java/org/hornetq/jms/HornetQJMSLogger.java
   branches/i18n_logging/hornetq-journal/src/main/java/org/hornetq/journal/
   branches/i18n_logging/hornetq-journal/src/main/java/org/hornetq/journal/HornetQJournalBundle.java
   branches/i18n_logging/hornetq-journal/src/main/java/org/hornetq/journal/HornetQJournalLogger.java
   branches/i18n_logging/hornetq-ra/hornetq-ra-jar/src/main/java/org/hornetq/ra/HornetQRABundle.java
   branches/i18n_logging/hornetq-ra/hornetq-ra-jar/src/main/java/org/hornetq/ra/HornetQRALogger.java
   branches/i18n_logging/hornetq-rest/hornetq-rest/src/main/java/org/hornetq/rest/HornetQRestBundle.java
   branches/i18n_logging/hornetq-rest/hornetq-rest/src/main/java/org/hornetq/rest/HornetQRestLogger.java
   branches/i18n_logging/hornetq-service-sar/src/main/java/org/hornetq/service/HornetQServiceBundle.java
   branches/i18n_logging/hornetq-service-sar/src/main/java/org/hornetq/service/HornetQServiceLogger.java
   branches/i18n_logging/hornetq-spring-integration/src/main/java/org/hornetq/spring/
   branches/i18n_logging/hornetq-spring-integration/src/main/java/org/hornetq/spring/HornetQSpringBundle.java
   branches/i18n_logging/hornetq-spring-integration/src/main/java/org/hornetq/spring/HornetQSpringLogger.java
   branches/i18n_logging/hornetq-twitter-integration/src/main/java/org/hornetq/twitter/
   branches/i18n_logging/hornetq-twitter-integration/src/main/java/org/hornetq/twitter/HornetQTwitterBundle.java
   branches/i18n_logging/hornetq-twitter-integration/src/main/java/org/hornetq/twitter/HornetQTwitterLogger.java
Modified:
   branches/i18n_logging/hornetq-bootstrap/pom.xml
   branches/i18n_logging/hornetq-commons/pom.xml
   branches/i18n_logging/hornetq-core/src/main/java/org/hornetq/core/server/HornetQLogger.java
   branches/i18n_logging/hornetq-core/src/main/java/org/hornetq/core/server/HornetQMessageBundle.java
Log:
added remaining loggers

Modified: branches/i18n_logging/hornetq-bootstrap/pom.xml
===================================================================
--- branches/i18n_logging/hornetq-bootstrap/pom.xml	2012-03-15 13:11:37 UTC (rev 12304)
+++ branches/i18n_logging/hornetq-bootstrap/pom.xml	2012-03-15 14:32:31 UTC (rev 12305)
@@ -26,6 +26,14 @@
             <groupId>org.jboss</groupId>
             <artifactId>jboss-common-core</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.jboss.logging</groupId>
+            <artifactId>jboss-logging-processor</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.jboss.logging</groupId>
+            <artifactId>jboss-logging</artifactId>
+        </dependency>
     </dependencies>
 
 </project>

Added: branches/i18n_logging/hornetq-bootstrap/src/main/java/org/hornetq/integration/bootstrap/HornetQBootstrapBundle.java
===================================================================
--- branches/i18n_logging/hornetq-bootstrap/src/main/java/org/hornetq/integration/bootstrap/HornetQBootstrapBundle.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-bootstrap/src/main/java/org/hornetq/integration/bootstrap/HornetQBootstrapBundle.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,19 @@
+package org.hornetq.integration.bootstrap;
+
+
+import org.jboss.logging.MessageBundle;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/12/12
+ *
+ * Logger Code 10
+ *
+ * each message id must be 6 digits long starting with 10, the 3rd digit should be 9
+ *
+ * so 109000 to 109999
+ */
+ at MessageBundle(projectCode = "HQ")
+public class HornetQBootstrapBundle
+{
+}

Added: branches/i18n_logging/hornetq-bootstrap/src/main/java/org/hornetq/integration/bootstrap/HornetQBootstrapLogger.java
===================================================================
--- branches/i18n_logging/hornetq-bootstrap/src/main/java/org/hornetq/integration/bootstrap/HornetQBootstrapLogger.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-bootstrap/src/main/java/org/hornetq/integration/bootstrap/HornetQBootstrapLogger.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,46 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat, Inc., and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.hornetq.integration.bootstrap;
+
+import org.jboss.logging.MessageLogger;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/15/12
+ *
+ * Logger Code 10
+ *
+ * each message id must be 6 digits long starting with 10, 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 101000 to 101999
+ */
+ at MessageLogger(projectCode = "HQ")
+public class HornetQBootstrapLogger
+{
+}

Modified: branches/i18n_logging/hornetq-commons/pom.xml
===================================================================
--- branches/i18n_logging/hornetq-commons/pom.xml	2012-03-15 13:11:37 UTC (rev 12304)
+++ branches/i18n_logging/hornetq-commons/pom.xml	2012-03-15 14:32:31 UTC (rev 12305)
@@ -26,6 +26,14 @@
          <artifactId>junit</artifactId>
          <scope>test</scope>
       </dependency>
+        <dependency>
+            <groupId>org.jboss.logging</groupId>
+            <artifactId>jboss-logging-processor</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.jboss.logging</groupId>
+            <artifactId>jboss-logging</artifactId>
+        </dependency>
    </dependencies>
 
 

Added: branches/i18n_logging/hornetq-commons/src/main/java/org/hornetq/utils/HornetQUtilBundle.java
===================================================================
--- branches/i18n_logging/hornetq-commons/src/main/java/org/hornetq/utils/HornetQUtilBundle.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-commons/src/main/java/org/hornetq/utils/HornetQUtilBundle.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,19 @@
+package org.hornetq.utils;
+
+
+import org.jboss.logging.MessageBundle;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/12/12
+ *
+ * Logger Code 20
+ *
+ * each message id must be 6 digits long starting with 20, the 3rd digit should be 9
+ *
+ * so 209000 to 209999
+ */
+ at MessageBundle(projectCode = "HQ")
+public class HornetQUtilBundle
+{
+}

Added: branches/i18n_logging/hornetq-commons/src/main/java/org/hornetq/utils/HornetQUtilLogger.java
===================================================================
--- branches/i18n_logging/hornetq-commons/src/main/java/org/hornetq/utils/HornetQUtilLogger.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-commons/src/main/java/org/hornetq/utils/HornetQUtilLogger.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,46 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat, Inc., and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.hornetq.utils;
+
+import org.jboss.logging.MessageLogger;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/15/12
+ *
+ * Logger Code 20
+ *
+ * each message id must be 6 digits long starting with 20, 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 201000 to 201999
+ */
+ at MessageLogger(projectCode = "HQ")
+public class HornetQUtilLogger
+{
+}

Modified: branches/i18n_logging/hornetq-core/src/main/java/org/hornetq/core/server/HornetQLogger.java
===================================================================
--- branches/i18n_logging/hornetq-core/src/main/java/org/hornetq/core/server/HornetQLogger.java	2012-03-15 13:11:37 UTC (rev 12304)
+++ branches/i18n_logging/hornetq-core/src/main/java/org/hornetq/core/server/HornetQLogger.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -24,6 +24,19 @@
 /**
  * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
  *         3/8/12
+ *
+ * Logger Code 11
+ *
+ * each message id must be 6 digits long starting with 10, 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 101000 to 101999
  */
 import org.hornetq.api.core.Pair;
 import org.hornetq.api.core.SimpleString;
@@ -47,156 +60,156 @@
     HornetQLogger LOGGER = Logger.getMessageLogger(HornetQLogger.class, HornetQLogger.class.getPackage().getName());
 
     @LogMessage(level = Logger.Level.INFO)
-    @Message(id = 1001, value = "{0} server is starting with configuration {1}", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 111001, value = "{0} server is starting with configuration {1}", format = Message.Format.MESSAGE_FORMAT)
     void serverStarting(String type, Configuration configuration);
 
     @LogMessage(level = Logger.Level.INFO)
-    @Message(id = 1002, value = "{0} is already started, ignoring the call to start..", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 111002, value = "{0} is already started, ignoring the call to start..", format = Message.Format.MESSAGE_FORMAT)
     void serverAlreadyStarted(String type);
 
     @LogMessage(level = Logger.Level.INFO)
-    @Message(id = 1003, value = "HornetQ Server version {0} [{1}] {2}", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 111003, value = "HornetQ Server version {0} [{1}] {2}", format = Message.Format.MESSAGE_FORMAT)
     void serverStarted(String fullVersion, SimpleString nodeId, String identity);
 
     @LogMessage(level = Logger.Level.INFO)
-    @Message(id = 1004, value = "HornetQ Server version {0} [{1}] stopped", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 111004, value = "HornetQ Server version {0} [{1}] stopped", format = Message.Format.MESSAGE_FORMAT)
     void serverStopped(String version, SimpleString nodeId);
 
     @LogMessage(level = Logger.Level.INFO)
-    @Message(id = 1005, value = "trying to deploy queue {0}", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 111005, value = "trying to deploy queue {0}", format = Message.Format.MESSAGE_FORMAT)
     void deployQueue(SimpleString queueName);
 
     @LogMessage(level = Logger.Level.INFO)
-    @Message(id = 1006, value = "{0}", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 111006, value = "{0}", format = Message.Format.MESSAGE_FORMAT)
     void dumpServerInfo(String serverInfo);
 
     @LogMessage(level = Logger.Level.INFO)
-    @Message(id = 1007, value = "Deleting pending large message as it wasn't completed: {0}", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 111007, value = "Deleting pending large message as it wasn't completed: {0}", format = Message.Format.MESSAGE_FORMAT)
     void deletingPendingMessage(Pair<Long, Long> msgToDelete);
 
     @LogMessage(level = Logger.Level.INFO)
-    @Message(id = 1008, value = "Waiting to obtain live lock", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 111008, value = "Waiting to obtain live lock", format = Message.Format.MESSAGE_FORMAT)
     void awaitingLiveLock();
 
     @LogMessage(level = Logger.Level.INFO)
-    @Message(id = 1009, value = "Server is now live", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 111009, value = "Server is now live", format = Message.Format.MESSAGE_FORMAT)
     void serverIsLive();
 
     @LogMessage(level = Logger.Level.INFO)
-    @Message(id = 1010, value = "live server wants to restart, restarting server in backup" , format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 111010, value = "live server wants to restart, restarting server in backup" , format = Message.Format.MESSAGE_FORMAT)
     void awaitFailBack();
 
     @LogMessage(level = Logger.Level.INFO)
-    @Message(id = 1011, value = "HornetQ Backup Server version {0} [{1}] started, waiting live to fail before it gets active",
+    @Message(id = 1111, value = "HornetQ Backup Server version {0} [{1}] started, waiting live to fail before it gets active",
           format = Message.Format.MESSAGE_FORMAT)
     void backupServerStarted(String version, SimpleString nodeID);
 
     @LogMessage(level = Logger.Level.INFO)
-    @Message(id = 1012, value = "Backup Server is now live", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 111012, value = "Backup Server is now live", format = Message.Format.MESSAGE_FORMAT)
     void backupServerIsLive();
 
    @LogMessage(level = Logger.Level.INFO)
-    @Message(id = 1013, value = "Server {0} is now live", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 111013, value = "Server {0} is now live", format = Message.Format.MESSAGE_FORMAT)
     void serverIsLive(String identity);
 
    @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2001, value = "HornetQServer is being finalized and has not been stopped. Please remember to stop the server before letting it go out of scope" ,
+    @Message(id = 112001, value = "HornetQServer is being finalized and has not been stopped. Please remember to stop the server before letting it go out of scope" ,
           format = Message.Format.MESSAGE_FORMAT)
     void serverFinalisedWIthoutBeingSTopped();
 
    @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2002, value = "Error closing sessions while stopping server" , format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112002, value = "Error closing sessions while stopping server" , format = Message.Format.MESSAGE_FORMAT)
     void errorClosingSessionsWhileStoppingServer(@Cause Exception e);
 
    @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2003, value = "Timed out waiting for pool to terminate {0}. Interrupting all its threads!", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112003, value = "Timed out waiting for pool to terminate {0}. Interrupting all its threads!", format = Message.Format.MESSAGE_FORMAT)
     void timedOutStoppingThreadpool(ExecutorService service);
 
     @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2004, value = "Must specify a name for each divert. This one will not be deployed." , format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112004, value = "Must specify a name for each divert. This one will not be deployed." , format = Message.Format.MESSAGE_FORMAT)
     void divertWithNoName();
 
     @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2005, value = "Must specify an address for each divert. This one will not be deployed." , format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112005, value = "Must specify an address for each divert. This one will not be deployed." , format = Message.Format.MESSAGE_FORMAT)
     void divertWithNoAddress();
 
     @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2006, value = "Must specify a forwarding address for each divert. This one will not be deployed." , format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112006, value = "Must specify a forwarding address for each divert. This one will not be deployed." , format = Message.Format.MESSAGE_FORMAT)
     void divertWithNoForwardingAddress();
 
     @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2007, value = "Binding already exists with name {0}, divert will not be deployed", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112007, value = "Binding already exists with name {0}, divert will not be deployed", format = Message.Format.MESSAGE_FORMAT)
     void divertBindingNotExists(SimpleString bindingName);
 
     @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2008, value = "Security risk! HornetQ is running with the default cluster admin user and default password. "
+    @Message(id = 112008, value = "Security risk! HornetQ is running with the default cluster admin user and default password. "
                   + "Please see the HornetQ user guide, cluster chapter, for instructions on how to change this." , format = Message.Format.MESSAGE_FORMAT)
     void clusterSecurityRisk();
 
     @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2009, value = "unable to restart server, please kill and restart manually", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112009, value = "unable to restart server, please kill and restart manually", format = Message.Format.MESSAGE_FORMAT)
     void serverRestartWarning();
 
     @LogMessage(level = Logger.Level.WARN)
     void serverRestartWarning(@Cause Exception e);
 
    @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2010, value = "Unable to announce backup for replication. Trying to stop the server.", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112010, value = "Unable to announce backup for replication. Trying to stop the server.", format = Message.Format.MESSAGE_FORMAT)
     void replicationStartProblem(@Cause Exception e);
 
    @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2011, value = "Critical IO Error, shutting down the server. code={0}, message={1}", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112011, value = "Critical IO Error, shutting down the server. code={0}, message={1}", format = Message.Format.MESSAGE_FORMAT)
     void ioErrorShutdownServer(int code, String message);
 
    @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2012, value = "Error stopping server", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112012, value = "Error stopping server", format = Message.Format.MESSAGE_FORMAT)
     void errorStoppingServer(@Cause Exception e);
 
     @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2013, value = "Timed out waiting for backup activation to exit", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112013, value = "Timed out waiting for backup activation to exit", format = Message.Format.MESSAGE_FORMAT)
     void backupActivationProblem();
 
    @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2014, value = "Error when trying to start replication", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112014, value = "Error when trying to start replication", format = Message.Format.MESSAGE_FORMAT)
     void errorStartingReplication(@Cause Exception e);
 
    @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2015, value = "Error when trying to stop replication", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112015, value = "Error when trying to stop replication", format = Message.Format.MESSAGE_FORMAT)
     void errorStoppingReplication(@Cause Exception e);
 
    @LogMessage(level = Logger.Level.WARN)
-    @Message(id = 2016, value = "{0}", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 112016, value = "{0}", format = Message.Format.MESSAGE_FORMAT)
     void warn(String message);
 
     @LogMessage(level = Logger.Level.DEBUG)
-    @Message(id = 3001, value = "Server already started!", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 113001, value = "Server already started!", format = Message.Format.MESSAGE_FORMAT)
     void serverAlreadyStarted();
 
     @LogMessage(level = Logger.Level.DEBUG)
-    @Message(id = 3002, value = "Starting server {0}", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 113002, value = "Starting server {0}", format = Message.Format.MESSAGE_FORMAT)
     void startingServer(HornetQServer server);
 
     @LogMessage(level = Logger.Level.DEBUG)
-    @Message(id = 3003, value = "Cancelled the execution of {0}", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 113003, value = "Cancelled the execution of {0}", format = Message.Format.MESSAGE_FORMAT)
     void cancelExecution(Runnable runnable);
 
     @LogMessage(level = Logger.Level.DEBUG)
-    @Message(id = 3004, value = "First part initialization on  {0}", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 113004, value = "First part initialization on  {0}", format = Message.Format.MESSAGE_FORMAT)
     void initializeFirstPart(Runnable runnable);
 
     @LogMessage(level = Logger.Level.DEBUG)
-    @Message(id = 3005, value = "announcing backup to the former live {0}", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 113005, value = "announcing backup to the former live {0}", format = Message.Format.MESSAGE_FORMAT)
     void announceBackupToFormerLive(Runnable runnable);
 
     @LogMessage(level = Logger.Level.DEBUG)
-    @Message(id = 3006, value = "{0} ::Stopping live node in favor of failback", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 113006, value = "{0} ::Stopping live node in favor of failback", format = Message.Format.MESSAGE_FORMAT)
     void stoppingLiveNodeInFavourOfFailback(HornetQServerImpl server);
 
     @LogMessage(level = Logger.Level.DEBUG)
-    @Message(id = 3007, value = "{0} ::Starting backup node now after failback", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 113007, value = "{0} ::Starting backup node now after failback", format = Message.Format.MESSAGE_FORMAT)
     void startingBackupAfterFailure(HornetQServerImpl server);
 
     @LogMessage(level = Logger.Level.ERROR)
-    @Message(id = 4001, value = "Failure in initialisation", format = Message.Format.MESSAGE_FORMAT)
+    @Message(id = 114001, value = "Failure in initialisation", format = Message.Format.MESSAGE_FORMAT)
     void initializationError(@Cause Throwable e);
 }

Modified: branches/i18n_logging/hornetq-core/src/main/java/org/hornetq/core/server/HornetQMessageBundle.java
===================================================================
--- branches/i18n_logging/hornetq-core/src/main/java/org/hornetq/core/server/HornetQMessageBundle.java	2012-03-15 13:11:37 UTC (rev 12304)
+++ branches/i18n_logging/hornetq-core/src/main/java/org/hornetq/core/server/HornetQMessageBundle.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -30,24 +30,30 @@
 /**
  * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
  *         3/12/12
+ *
+ * Logger Code 11
+ *
+ * each message id must be 6 digits long starting with 10, the 3rd digit should be 9
+ *
+ * so 119000 to 119999
  */
 @MessageBundle(projectCode = "HQ")
 public interface HornetQMessageBundle
 {
    HornetQMessageBundle MESSAGES = Messages.getBundle(HornetQMessageBundle.class);
 
-   @Message(id = 9001, value = "Generating thread dump because - {0}", format = Message.Format.MESSAGE_FORMAT)
+   @Message(id = 119001, value = "Generating thread dump because - {0}", format = Message.Format.MESSAGE_FORMAT)
    String generatingThreadDump(String reason);
 
-   @Message(id = 9002, value = "End Thread dump", format = Message.Format.MESSAGE_FORMAT)
+   @Message(id = 119002, value = "End Thread dump", format = Message.Format.MESSAGE_FORMAT)
    String endThreadDump();
 
-   @Message(id = 9003, value = "Thread {0} name {1} id {2} group {3}", format = Message.Format.MESSAGE_FORMAT)
+   @Message(id = 119003, value = "Thread {0} name {1} id {2} group {3}", format = Message.Format.MESSAGE_FORMAT)
    String threadInfo(Thread key, String name, Long id, ThreadGroup group);
 
-   @Message(id = 9004, value = "Connected server is not a backup server", format = Message.Format.MESSAGE_FORMAT)
+   @Message(id = 119004, value = "Connected server is not a backup server", format = Message.Format.MESSAGE_FORMAT)
    HornetQException notABackupServer(@Property Integer code);
 
-   @Message(id = 9005, value = "Backup replication server is already connected to another server", format = Message.Format.MESSAGE_FORMAT)
+   @Message(id = 119005, value = "Backup replication server is already connected to another server", format = Message.Format.MESSAGE_FORMAT)
    String backupServerAlreadyConnectingToLive();
 }

Added: branches/i18n_logging/hornetq-jboss-as-integration/src/main/java/org/hornetq/integration/jboss/HornetQJBossBundle.java
===================================================================
--- branches/i18n_logging/hornetq-jboss-as-integration/src/main/java/org/hornetq/integration/jboss/HornetQJBossBundle.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-jboss-as-integration/src/main/java/org/hornetq/integration/jboss/HornetQJBossBundle.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,19 @@
+package org.hornetq.integration.jboss;
+
+
+import org.jboss.logging.MessageBundle;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/12/12
+ *
+ * Logger Code 13
+ *
+ * each message id must be 6 digits long starting with 13, the 3rd digit should be 9
+ *
+ * so 139000 to 139999
+ */
+ at MessageBundle(projectCode = "HQ")
+public class HornetQJBossBundle
+{
+}

Added: branches/i18n_logging/hornetq-jboss-as-integration/src/main/java/org/hornetq/integration/jboss/HornetQJBossLogger.java
===================================================================
--- branches/i18n_logging/hornetq-jboss-as-integration/src/main/java/org/hornetq/integration/jboss/HornetQJBossLogger.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-jboss-as-integration/src/main/java/org/hornetq/integration/jboss/HornetQJBossLogger.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,46 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat, Inc., and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.hornetq.integration.jboss;
+
+import org.jboss.logging.MessageLogger;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/15/12
+ *
+ * Logger Code 13
+ *
+ * each message id must be 6 digits long starting with 13, 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 131000 to 131999
+ */
+ at MessageLogger(projectCode = "HQ")
+public class HornetQJBossLogger
+{
+}

Added: branches/i18n_logging/hornetq-jms/src/main/java/org/hornetq/jms/HornetQJMSBundle.java
===================================================================
--- branches/i18n_logging/hornetq-jms/src/main/java/org/hornetq/jms/HornetQJMSBundle.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-jms/src/main/java/org/hornetq/jms/HornetQJMSBundle.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,19 @@
+package org.hornetq.jms;
+
+
+import org.jboss.logging.MessageBundle;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/12/12
+ *
+ * Logger Code 12
+ *
+ * each message id must be 6 digits long starting with 10, the 3rd digit should be 9
+ *
+ * so 129000 to 129999
+ */
+ at MessageBundle(projectCode = "HQ")
+public class HornetQJMSBundle
+{
+}

Added: branches/i18n_logging/hornetq-jms/src/main/java/org/hornetq/jms/HornetQJMSLogger.java
===================================================================
--- branches/i18n_logging/hornetq-jms/src/main/java/org/hornetq/jms/HornetQJMSLogger.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-jms/src/main/java/org/hornetq/jms/HornetQJMSLogger.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,46 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat, Inc., and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.hornetq.jms;
+
+import org.jboss.logging.MessageLogger;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/15/12
+ *
+ * Logger Code 12
+ *
+ * each message id must be 6 digits long starting with 12, 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 121000 to 121999
+ */
+ at MessageLogger(projectCode = "HQ")
+public class HornetQJMSLogger
+{
+}

Added: branches/i18n_logging/hornetq-journal/src/main/java/org/hornetq/journal/HornetQJournalBundle.java
===================================================================
--- branches/i18n_logging/hornetq-journal/src/main/java/org/hornetq/journal/HornetQJournalBundle.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-journal/src/main/java/org/hornetq/journal/HornetQJournalBundle.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,19 @@
+package org.hornetq.journal;
+
+
+import org.jboss.logging.MessageBundle;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/12/12
+ *
+ * Logger Code 14
+ *
+ * each message id must be 6 digits long starting with 14, the 3rd digit should be 9
+ *
+ * so 149000 to 149999
+ */
+ at MessageBundle(projectCode = "HQ")
+public class HornetQJournalBundle
+{
+}

Added: branches/i18n_logging/hornetq-journal/src/main/java/org/hornetq/journal/HornetQJournalLogger.java
===================================================================
--- branches/i18n_logging/hornetq-journal/src/main/java/org/hornetq/journal/HornetQJournalLogger.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-journal/src/main/java/org/hornetq/journal/HornetQJournalLogger.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,46 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat, Inc., and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.hornetq.journal;
+
+import org.jboss.logging.MessageLogger;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/15/12
+ *
+ * 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 141000 to 141999
+ */
+ at MessageLogger(projectCode = "HQ")
+public class HornetQJournalLogger
+{
+}

Added: branches/i18n_logging/hornetq-ra/hornetq-ra-jar/src/main/java/org/hornetq/ra/HornetQRABundle.java
===================================================================
--- branches/i18n_logging/hornetq-ra/hornetq-ra-jar/src/main/java/org/hornetq/ra/HornetQRABundle.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-ra/hornetq-ra-jar/src/main/java/org/hornetq/ra/HornetQRABundle.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,19 @@
+package org.hornetq.ra;
+
+
+import org.jboss.logging.MessageBundle;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/12/12
+ *
+ * Logger Code 15
+ *
+ * each message id must be 6 digits long starting with 15, the 3rd digit should be 9
+ *
+ * so 159000 to 159999
+ */
+ at MessageBundle(projectCode = "HQ")
+public class HornetQRABundle
+{
+}

Added: branches/i18n_logging/hornetq-ra/hornetq-ra-jar/src/main/java/org/hornetq/ra/HornetQRALogger.java
===================================================================
--- branches/i18n_logging/hornetq-ra/hornetq-ra-jar/src/main/java/org/hornetq/ra/HornetQRALogger.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-ra/hornetq-ra-jar/src/main/java/org/hornetq/ra/HornetQRALogger.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,46 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat, Inc., and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.hornetq.ra;
+
+import org.jboss.logging.MessageLogger;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/15/12
+ *
+ * Logger Code 15
+ *
+ * each message id must be 6 digits long starting with 15, 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 151000 to 151999
+ */
+ at MessageLogger(projectCode = "HQ")
+public class HornetQRALogger
+{
+}

Added: branches/i18n_logging/hornetq-rest/hornetq-rest/src/main/java/org/hornetq/rest/HornetQRestBundle.java
===================================================================
--- branches/i18n_logging/hornetq-rest/hornetq-rest/src/main/java/org/hornetq/rest/HornetQRestBundle.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-rest/hornetq-rest/src/main/java/org/hornetq/rest/HornetQRestBundle.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,19 @@
+package org.hornetq.rest;
+
+
+import org.jboss.logging.MessageBundle;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/12/12
+ *
+ * Logger Code 19
+ *
+ * each message id must be 6 digits long starting with 19, the 3rd digit should be 9
+ *
+ * so 199000 to 199999
+ */
+ at MessageBundle(projectCode = "HQ")
+public class HornetQRestBundle
+{
+}

Added: branches/i18n_logging/hornetq-rest/hornetq-rest/src/main/java/org/hornetq/rest/HornetQRestLogger.java
===================================================================
--- branches/i18n_logging/hornetq-rest/hornetq-rest/src/main/java/org/hornetq/rest/HornetQRestLogger.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-rest/hornetq-rest/src/main/java/org/hornetq/rest/HornetQRestLogger.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,46 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat, Inc., and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.hornetq.rest;
+
+import org.jboss.logging.MessageLogger;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/15/12
+ *
+ * Logger Code 19
+ *
+ * each message id must be 6 digits long starting with 19, 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 191000 to 191999
+ */
+ at MessageLogger(projectCode = "HQ")
+public class HornetQRestLogger
+{
+}

Added: branches/i18n_logging/hornetq-service-sar/src/main/java/org/hornetq/service/HornetQServiceBundle.java
===================================================================
--- branches/i18n_logging/hornetq-service-sar/src/main/java/org/hornetq/service/HornetQServiceBundle.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-service-sar/src/main/java/org/hornetq/service/HornetQServiceBundle.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,19 @@
+package org.hornetq.service;
+
+
+import org.jboss.logging.MessageBundle;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/12/12
+ *
+ * Logger Code 16
+ *
+ * each message id must be 6 digits long starting with 16, the 3rd digit should be 9
+ *
+ * so 169000 to 169999
+ */
+ at MessageBundle(projectCode = "HQ")
+public class HornetQServiceBundle
+{
+}

Added: branches/i18n_logging/hornetq-service-sar/src/main/java/org/hornetq/service/HornetQServiceLogger.java
===================================================================
--- branches/i18n_logging/hornetq-service-sar/src/main/java/org/hornetq/service/HornetQServiceLogger.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-service-sar/src/main/java/org/hornetq/service/HornetQServiceLogger.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,46 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat, Inc., and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.hornetq.service;
+
+import org.jboss.logging.MessageLogger;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/15/12
+ *
+ * Logger Code 16
+ *
+ * each message id must be 6 digits long starting with 16, 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 161000 to 161999
+ */
+ at MessageLogger(projectCode = "HQ")
+public class HornetQServiceLogger
+{
+}

Added: branches/i18n_logging/hornetq-spring-integration/src/main/java/org/hornetq/spring/HornetQSpringBundle.java
===================================================================
--- branches/i18n_logging/hornetq-spring-integration/src/main/java/org/hornetq/spring/HornetQSpringBundle.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-spring-integration/src/main/java/org/hornetq/spring/HornetQSpringBundle.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,19 @@
+package org.hornetq.spring;
+
+
+import org.jboss.logging.MessageBundle;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/12/12
+ *
+ * Logger Code 17
+ *
+ * each message id must be 6 digits long starting with 17, the 3rd digit should be 9
+ *
+ * so 179000 to 179999
+ */
+ at MessageBundle(projectCode = "HQ")
+public class HornetQSpringBundle
+{
+}

Added: branches/i18n_logging/hornetq-spring-integration/src/main/java/org/hornetq/spring/HornetQSpringLogger.java
===================================================================
--- branches/i18n_logging/hornetq-spring-integration/src/main/java/org/hornetq/spring/HornetQSpringLogger.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-spring-integration/src/main/java/org/hornetq/spring/HornetQSpringLogger.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,46 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat, Inc., and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.hornetq.spring;
+
+import org.jboss.logging.MessageLogger;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/15/12
+ *
+ * Logger Code 17
+ *
+ * each message id must be 6 digits long starting with 17, 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 171000 to 171999
+ */
+ at MessageLogger(projectCode = "HQ")
+public class HornetQSpringLogger
+{
+}

Added: branches/i18n_logging/hornetq-twitter-integration/src/main/java/org/hornetq/twitter/HornetQTwitterBundle.java
===================================================================
--- branches/i18n_logging/hornetq-twitter-integration/src/main/java/org/hornetq/twitter/HornetQTwitterBundle.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-twitter-integration/src/main/java/org/hornetq/twitter/HornetQTwitterBundle.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,19 @@
+package org.hornetq.twitter;
+
+
+import org.jboss.logging.MessageBundle;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/12/12
+ *
+ * Logger Code 18
+ *
+ * each message id must be 6 digits long starting with 18, the 3rd digit should be 9
+ *
+ * so 189000 to 189999
+ */
+ at MessageBundle(projectCode = "HQ")
+public class HornetQTwitterBundle
+{
+}

Added: branches/i18n_logging/hornetq-twitter-integration/src/main/java/org/hornetq/twitter/HornetQTwitterLogger.java
===================================================================
--- branches/i18n_logging/hornetq-twitter-integration/src/main/java/org/hornetq/twitter/HornetQTwitterLogger.java	                        (rev 0)
+++ branches/i18n_logging/hornetq-twitter-integration/src/main/java/org/hornetq/twitter/HornetQTwitterLogger.java	2012-03-15 14:32:31 UTC (rev 12305)
@@ -0,0 +1,46 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat, Inc., and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.hornetq.twitter;
+
+import org.jboss.logging.MessageLogger;
+
+/**
+ * @author <a href="mailto:andy.taylor at jboss.org">Andy Taylor</a>
+ *         3/15/12
+ *
+ * Logger Code 18
+ *
+ * each message id must be 6 digits long starting with 18, 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 181000 to 181999
+ */
+ at MessageLogger(projectCode = "HQ")
+public class HornetQTwitterLogger
+{
+}



More information about the hornetq-commits mailing list