ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/listener Log4jListener.java
Date Wed, 15 Aug 2001 11:50:34 GMT
conor       01/08/15 04:50:34

  Modified:    src/main/org/apache/tools/ant/listener Tag: ANT_14_BRANCH
                        Log4jListener.java
  Log:
  Fix check for appended to check the root category rather than the
  ant category.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +2 -1      jakarta-ant/src/main/org/apache/tools/ant/listener/Log4jListener.java
  
  Index: Log4jListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/listener/Log4jListener.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- Log4jListener.java	2001/08/13 00:09:27	1.1.2.1
  +++ Log4jListener.java	2001/08/15 11:50:34	1.1.2.2
  @@ -73,7 +73,8 @@
       public Log4jListener() {
           initialized = false;
           Category cat = Category.getInstance("org.apache.tools.ant");
  -        if (!(cat.getAllAppenders() instanceof NullEnumeration)) {
  +        Category rootCat = Category.getRoot();
  +        if (!(rootCat.getAllAppenders() instanceof NullEnumeration)) {
               initialized = true;
           }
           else {
  
  
  

Mime
View raw message