geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/core/log CachingLog4jLog.java
Date Sat, 16 Aug 2003 22:45:00 GMT
dain        2003/08/16 15:45:00

  Modified:    modules/core/src/java/org/apache/geronimo/core/log
                        CachingLog4jLog.java
  Log:
  Log now updates cached flags in constructor, so initial values are valid.
  
  Revision  Changes    Path
  1.2       +3 -5      incubator-geronimo/modules/core/src/java/org/apache/geronimo/core/log/CachingLog4jLog.java
  
  Index: CachingLog4jLog.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/core/log/CachingLog4jLog.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CachingLog4jLog.java	14 Aug 2003 21:54:45 -0000	1.1
  +++ CachingLog4jLog.java	16 Aug 2003 22:45:00 -0000	1.2
  @@ -114,17 +114,15 @@
       private boolean debugEnabled;
       private boolean infoEnabled;
   
  -    public CachingLog4jLog() {
  -        logger = null;
  -    }
  -
       public CachingLog4jLog(String name) {
           logger = Logger.getLogger(name);
  +        updateLevelInfo();
           addLog(this);
       }
   
       public CachingLog4jLog(Logger logger) {
           this.logger = logger;
  +        updateLevelInfo();
           addLog(this);
       }
   
  
  
  

Mime
View raw message