User: chirino 
  Date: 01/07/15 19:51:47

  Modified:    src/main/org/jbossmq/selectors Identifier.java Operator.java
                        Selector.java
  Log:
  Moved the rest of JBossMQ over to log4j logging.
  - The jbossmq-client.jar now includes a log4j.properties which sets up the logging
  subsystems on the client side.  To chanage the logging levels, just place your
  log4j.properties in the classpath betfore the jbossmq-client.jar
  
  Revision  Changes    Path
  1.3       +7 -1      jbossmq/src/main/org/jbossmq/selectors/Identifier.java
  
  Index: Identifier.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/selectors/Identifier.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Identifier.java   2001/03/02 01:13:00     1.2
  +++ Identifier.java   2001/07/16 02:51:47     1.3
  @@ -18,12 +18,18 @@
    * Distributable under LGPL license.
    * See terms of license at gnu.org.
    */
  +/*
  + * JBossMQ, the OpenSource JMS implementation
  + *
  + * Distributable under LGPL license.
  + * See terms of license at gnu.org.
  + */
   /**
    * This is a JMS identifier
    *      
    *   @author Norbert Lataille ([EMAIL PROTECTED])
    * 
  - *   @version $Revision: 1.2 $
  + *   @version $Revision: 1.3 $
    */
   public class Identifier
   {
  
  
  
  1.3       +2 -2      jbossmq/src/main/org/jbossmq/selectors/Operator.java
  
  Index: Operator.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/selectors/Operator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Operator.java     2001/03/02 01:13:00     1.2
  +++ Operator.java     2001/07/16 02:51:47     1.3
  @@ -9,15 +9,15 @@
   import java.util.HashSet;
   
   
  -import org.jbossmq.Log;
   
  +
   /**
    * An operator for the selector system
    *      
    *   @author Norbert Lataille ([EMAIL PROTECTED])
    *      @author [EMAIL PROTECTED]
    * 
  - *   @version $Revision: 1.2 $
  + *   @version $Revision: 1.3 $
    */
   public class Operator
   {
  
  
  
  1.5       +5 -5      jbossmq/src/main/org/jbossmq/selectors/Selector.java
  
  Index: Selector.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/selectors/Selector.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Selector.java     2001/06/14 13:33:33     1.4
  +++ Selector.java     2001/07/16 02:51:47     1.5
  @@ -14,7 +14,7 @@
   import java.util.HashMap;
   import java.util.Iterator;
   
  -import org.jbossmq.Log;
  +
   import org.jbossmq.SpyMessage;
   
   /**
  @@ -23,11 +23,10 @@
    *   @author Norbert Lataille ([EMAIL PROTECTED])
    *  @author Juha Lindfors ([EMAIL PROTECTED])
    *
  - *   @version $Revision: 1.4 $
  + *   @version $Revision: 1.5 $
    */
   public class Selector
   {
  -
        public HashMap identifiers; // HashMap of Identifiers
        public Object result; 
   
  @@ -65,7 +64,7 @@
                                        find = getHeaderFieldReferences(mes, id.name);
   
                                if (find==null) {
  -                                     Log.log("Warning : missing property "+id.name);
  +                                     cat.debug("Warning : missing property 
"+id.name);
                                        id.value=null;
                                } else {
                                        Class type=find.getClass();
  @@ -122,5 +121,6 @@
                else 
                        return null;    
        }
  -}
   
  +     static org.apache.log4j.Category cat = 
org.apache.log4j.Category.getInstance(Selector.class);
  +}
  \ No newline at end of file
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to