Hi

Minor typo in the recent logger patch?

-- Ilkka


Index: LoggerFactoryImpl.java
===================================================================
RCS file: /home/cvspublic/db-ojb/src/java/org/apache/ojb/broker/util/logging/LoggerFactoryImpl.java,v
retrieving revision 1.18.2.4
diff -u -r1.18.2.4 LoggerFactoryImpl.java
--- LoggerFactoryImpl.java      17 Nov 2005 01:34:19 -0000      1.18.2.4
+++ LoggerFactoryImpl.java      7 Dec 2005 08:36:22 -0000
@@ -35,7 +35,7 @@
  */
 public class LoggerFactoryImpl
 {
-    public static final String BOOT_LOG_LEVERL_STR = "OJB.bootLogLevel";
+    public static final String BOOT_LOG_LEVEL_STR = "OJB.bootLogLevel";
     public static final String BOOT_STR = "BOOT";
     public static final String DEFAULT_STR = "BOOT";
public static final LoggerFactoryImpl INSTANCE = new LoggerFactoryImpl();
@@ -224,7 +224,7 @@
     {
         Logger bootLogger = new PoorMansLoggerImpl(BOOT_STR);
         // allow user to set boot log level via system property
- String level = System.getProperty(BOOT_LOG_LEVERL_STR, LoggingConfiguration.OJB_DEFAULT_BOOT_LOG_LEVEL); + String level = System.getProperty(BOOT_LOG_LEVEL_STR, LoggingConfiguration.OJB_DEFAULT_BOOT_LOG_LEVEL);
         ((PoorMansLoggerImpl) bootLogger).setLevel(level);
         return bootLogger;
     }
@@ -233,7 +233,7 @@
     {
         Logger bootLogger = new StringBufferLoggerImpl(BOOT_STR);
         // allow user to set boot log level via system property
- String level = System.getProperty(BOOT_LOG_LEVERL_STR, LoggingConfiguration.OJB_DEFAULT_BOOT_LOG_LEVEL); + String level = System.getProperty(BOOT_LOG_LEVEL_STR, LoggingConfiguration.OJB_DEFAULT_BOOT_LOG_LEVEL);
         ((PoorMansLoggerImpl) bootLogger).setLevel(level);
         return bootLogger;
     }

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to