geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Apache Geronimo Wiki] Updated: Logging
Date Wed, 29 Dec 2004 23:00:53 GMT
   Date: 2004-12-29T15:00:52
   Editor: TobyCabot
   Wiki: Apache Geronimo Wiki
   Page: Logging

   no comment

Change Log:

@@ -20,4 +20,18 @@
 This will use `/etc/geronimo/log4j.xml` instead of the default.
-FIXME: Jetty logs http requests to `var/log` as well, need to figure out how to move those
+Jetty logs http requests to `var/log` by default as well, you can move these by hacking a
different part of `modules/assembly/src/plan/system-plan.xml`.  For example:
+ {{{
+<gbean name="geronimo.server:type=RequestLog,container=Jetty" class="org.apache.geronimo.jetty.requestlog.NCSARequestLog">
+    <reference name="JettyContainer">geronimo.server:type=WebContainer,container=Jetty</reference>
+    <reference name="ServerInfo">geronimo.system:role=ServerInfo</reference>
+    <attribute name="filename">/var/log/apache/jetty_yyyy_mm_dd.log</attribute>
+    <attribute name="logDateFormat">dd/MMM/yyyy:HH:mm:ss ZZZ</attribute>
+    <attribute name="logTimeZone">GMT</attribute>
+This will tell Jetty to put its server logs in the directory where Apache httpd puts them
(on Debian systems).
+'''FIXME''': "howl" logs?

View raw message