db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Re: LoggerFactoryImpl typo?
Date Sat, 10 Dec 2005 13:25:54 GMT
Ilkka Priha wrote:
> Hi
> 
> Minor typo in the recent logger patch?
>

Thanks for the hint.
Fixed in branch and trunk.

Armin

> -- 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: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 

---------------------------------------------------------------------
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