User: starksm 
  Date: 01/04/27 08:56:51

  Modified:    src/main/org/jboss/logging Log4jService.java
  Log:
  Remove the use of the NDC as it is now redundant since each source
  obtains a Category and this is used in the PatternLayout
  
  Revision  Changes    Path
  1.5       +1 -3      jboss/src/main/org/jboss/logging/Log4jService.java
  
  Index: Log4jService.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/logging/Log4jService.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Log4jService.java 2001/04/21 12:21:06     1.4
  +++ Log4jService.java 2001/04/27 15:56:50     1.5
  @@ -38,7 +38,7 @@
   @author <a href="mailto:[EMAIL PROTECTED]";>Fulco Muriglio</a>
   @author [EMAIL PROTECTED]
   @author <a href="mailto:[EMAIL PROTECTED]";>David Jencks</a>
  -@version $Revision: 1.4 $
  +@version $Revision: 1.5 $
   */
   public class Log4jService implements Log4jServiceMBean, NotificationListener,
       MBeanRegistration
  @@ -153,7 +153,6 @@
               source = "Default";
           //get a category based on the source name, so we can turn on and off pieces 
of logging.
           Category localCategory = category.getInstance(source);
  -        NDC.push(source);
           switch( type )
           {
               case 'W':
  @@ -169,7 +168,6 @@
                   localCategory.info(msg);
               break;
           }
  -        NDC.pop();
       }
   
   // --- Begin MBeanRegistration interface methods
  
  
  

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

Reply via email to