ceki        2004/11/18 03:41:46

  Modified:    examples/src/subclass MyLoggerTest.java
  Log:
  LogLog -> Logger
  
  Revision  Changes    Path
  1.4       +2 -2      logging-log4j/examples/src/subclass/MyLoggerTest.java
  
  Index: MyLoggerTest.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/examples/src/subclass/MyLoggerTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MyLoggerTest.java 28 Oct 2004 13:10:21 -0000      1.3
  +++ MyLoggerTest.java 18 Nov 2004 11:41:46 -0000      1.4
  @@ -10,7 +10,6 @@
   import org.apache.log4j.*;
   
   import org.apache.log4j.PropertyConfigurator;
  -import org.apache.log4j.helpers.LogLog;
   import org.apache.log4j.joran.JoranConfigurator;
   
   /**
  @@ -62,7 +61,8 @@
         c.trace("Hello");
         c.debug("Hello");
       } catch(ClassCastException e) {
  -      LogLog.error("Did you forget to set the factory in the config file?", 
e);
  +      System.err.println("Did you forget to set the factory in the config 
file?");
  +      e.printStackTrace(System.err);
       }
     }
   
  
  
  

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

Reply via email to