ceki        2004/11/20 06:31:27

  Modified:    src/java/org/apache/log4j/helpers OptionConverter.java
  Log:
  LogLog related changes
  
  Revision  Changes    Path
  1.44      +4 -4      
logging-log4j/src/java/org/apache/log4j/helpers/OptionConverter.java
  
  Index: OptionConverter.java
  ===================================================================
  RCS file: 
/home/cvs/logging-log4j/src/java/org/apache/log4j/helpers/OptionConverter.java,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- OptionConverter.java      17 Nov 2004 17:36:35 -0000      1.43
  +++ OptionConverter.java      20 Nov 2004 14:31:27 -0000      1.44
  @@ -252,7 +252,7 @@
       } catch (ClassNotFoundException e) {
         getLogger().warn("custom level class [" + clazz + "] not found.");
       } catch (NoSuchMethodException e) {
  -      LogLog.warn(
  +      getLogger().warn(
           "custom level class [" + clazz + "]"
           + " does not have a constructor which takes one string parameter", 
e);
       } catch (java.lang.reflect.InvocationTargetException e) {
  @@ -361,7 +361,7 @@
     
           return classObj.newInstance();
         } catch (Exception e) {
  -        LogLog.error("Could not instantiate class [" + className + "].", e);
  +        getLogger().error("Could not instantiate class [" + className + 
"].", e);
         }
       }
     
  @@ -518,12 +518,12 @@
       }
   
       if (clazz != null) {
  -      LogLog.debug("Preferred configurator class: " + clazz);
  +      getLogger().info("Preferred configurator class: " + clazz);
         configurator =
           (Configurator) instantiateByClassName(clazz, Configurator.class, 
null);
   
         if (configurator == null) {
  -        LogLog.error("Could not instantiate configurator [" + clazz + "].");
  +        getLogger().error("Could not instantiate configurator [" + clazz + 
"].");
   
           return;
         }
  
  
  

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

Reply via email to