costin      2002/07/12 10:58:45

  Modified:    util/java/org/apache/tomcat/util/log LogManager.java
  Log:
  Make the default CommonsLogHandler.
  
  If no logger is explicitely configured using the old mechanism
  ( which should be deprecated ), we'll use Commons-logging instead
  of println().
  
  I think we should start replacing Log with commons-logging ( and the
  same in jasper, catalina, etc ).
  
  Revision  Changes    Path
  1.3       +2 -2      
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/log/LogManager.java
  
  Index: LogManager.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/log/LogManager.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LogManager.java   10 Apr 2002 22:57:22 -0000      1.2
  +++ LogManager.java   12 Jul 2002 17:58:45 -0000      1.3
  @@ -72,8 +72,8 @@
    **/
   public class LogManager {
   
  -    static LogHandler defaultChannel=new LogHandler();
  -    // static LogHandler defaultChannel=new CommonLogHandler();
  +    //static LogHandler defaultChannel=new LogHandler();
  +    static LogHandler defaultChannel=new CommonLogHandler();
       
       protected Hashtable loggers=new Hashtable();
       protected Hashtable channels=new Hashtable();
  
  
  

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

Reply via email to