db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/util/logging LoggingConfiguration.java
Date Fri, 15 Jul 2005 15:01:39 GMT
tomdz       2005/07/15 08:01:39

  Modified:    src/java/org/apache/ojb/broker/util/logging
                        LoggingConfiguration.java
  Log:
  Applied fix for OJB-60 as suggested by Tang Yanjun
  
  Revision  Changes    Path
  1.11      +7 -4      db-ojb/src/java/org/apache/ojb/broker/util/logging/LoggingConfiguration.java
  
  Index: LoggingConfiguration.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/logging/LoggingConfiguration.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- LoggingConfiguration.java	19 Dec 2004 02:47:52 -0000	1.10
  +++ LoggingConfiguration.java	15 Jul 2005 15:01:39 -0000	1.11
  @@ -190,9 +190,12 @@
                       }
                       catch (Exception ex)
                       {}
  -                    // no, so default to poor man's logging
  -                    bootLogger.info("** Can't find logging configuration file, use default
logger **");
  -                    _loggerClass = PoorMansLoggerImpl.class;
  +                    if (_loggerClass == null)
  +                    {
  +                        // no, so default to poor man's logging
  +                        bootLogger.info("** Can't find logging configuration file, use
default logger **");
  +                        _loggerClass = PoorMansLoggerImpl.class;
  +                    }
                   }
               }
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message