cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/servlet CocoonServlet.java
Date Tue, 07 Aug 2001 10:18:18 GMT
cziegeler    01/08/07 03:18:18

  Modified:    src/org/apache/cocoon/servlet CocoonServlet.java
  Log:
  Display full time in log
  
  Revision  Changes    Path
  1.25      +4 -4      xml-cocoon2/src/org/apache/cocoon/servlet/CocoonServlet.java
  
  Index: CocoonServlet.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/servlet/CocoonServlet.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- CocoonServlet.java	2001/07/27 18:35:29	1.24
  +++ CocoonServlet.java	2001/08/07 10:18:18	1.25
  @@ -62,7 +62,7 @@
    * @author <a href="mailto:nicolaken@supereva.it">Nicola Ken Barozzi</a> Aisa
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
    * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
  - * @version CVS $Revision: 1.24 $ $Date: 2001/07/27 18:35:29 $
  + * @version CVS $Revision: 1.25 $ $Date: 2001/08/07 10:18:18 $
    */
   
   public class CocoonServlet extends HttpServlet {
  @@ -155,10 +155,10 @@
           } else        {
               this.cacheDir = IOUtils.createFile(workDir, "cache-dir" + File.separator);
           }
  - 
  +
           this.appContext.put(Constants.CONTEXT_CACHE_DIR, this.cacheDir);
           this.cacheDir.mkdirs();
  -      
  +
           this.appContext.put(Constants.CONTEXT_CONFIG_URL,
           this.getConfigFile(conf.getInitParameter("configurations")));
   
  @@ -343,7 +343,7 @@
   
               final String path = logDir + logName;
               final CocoonLogFormatter formatter = new CocoonLogFormatter();
  -            formatter.setFormat( "%7.7{priority} %5.5{time}   [%8.8{category}] " +
  +            formatter.setFormat( "%7.7{priority} %{time}   [%8.8{category}] " +
                                    "(%{uri}) %{thread}/%{class:short}: %{message}\\n%{throwable}"
);
   
               this.log = Hierarchy.getDefaultHierarchy().getLoggerFor("cocoon");
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message