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:00:59 GMT
tomdz       2005/07/15 08:00:59

  Modified:    src/java/org/apache/ojb/broker/util/logging Tag:
                        OJB_1_0_RELEASE LoggingConfiguration.java
  Log:
  Applied fix for OJB-60 as suggested by Tang Yanjun
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.8.2.2   +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.8.2.1
  retrieving revision 1.8.2.2
  diff -u -r1.8.2.1 -r1.8.2.2
  --- LoggingConfiguration.java	19 Dec 2004 02:26:05 -0000	1.8.2.1
  +++ LoggingConfiguration.java	15 Jul 2005 15:00:59 -0000	1.8.2.2
  @@ -189,9 +189,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