cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.2/src/java/org/apache/cocoon/servlet CocoonServlet.java
Date Sat, 13 Mar 2004 15:06:04 GMT
cziegeler    2004/03/13 07:06:04

  Modified:    src/java/org/apache/cocoon/servlet CocoonServlet.java
  Log:
  Update for new logkit 2.0
  
  Revision  Changes    Path
  1.30      +2 -4      cocoon-2.2/src/java/org/apache/cocoon/servlet/CocoonServlet.java
  
  Index: CocoonServlet.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/servlet/CocoonServlet.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- CocoonServlet.java	10 Mar 2004 17:58:04 -0000	1.29
  +++ CocoonServlet.java	13 Mar 2004 15:06:04 -0000	1.30
  @@ -766,9 +766,7 @@
           final CocoonLogFormatter formatter = new CocoonLogFormatter();
           formatter.setFormat( "%7.7{priority} %{time}   [%8.8{category}] " +
                                "(%{uri}) %{thread}/%{class:short}: %{message}\\n%{throwable}"
);
  -        final ServletOutputLogTarget servTarget = new ServletOutputLogTarget(this.servletContext
);
  -
  -        servTarget.setFormatter(formatter);
  +        final ServletOutputLogTarget servTarget = new ServletOutputLogTarget(this.servletContext,
formatter );
   
           final Hierarchy defaultHierarchy = Hierarchy.getDefaultHierarchy();
           final ErrorHandler errorHandler = new DefaultErrorHandler();
  
  
  

Mime
View raw message