I just played around a bit with the CocoonServlet and thought it might make sense to log the requests similar to Apache httpd does, e.g.

getLogger().info(request.getRemoteAddr() + " - - [" + new java.text.SimpleDateFormat().format(new java.util.Date(end)) + "] \"" + request.getMethod() + " " + uri + " " + request.getProtocol() + "\" - " + timeString);

Would it make sense to replace the current

getLogger().info("'" + uri + "' " + timeString);

by the above? WDYT?

Michi

--
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]



Reply via email to