Date: 2004-12-29T15:14:56
Editor: TobyCabot
Wiki: Apache Geronimo Wiki
Page: Logging
URL: http://wiki.apache.org/geronimo/Logging
no comment
Change Log:
------------------------------------------------------------------------------
@@ -1,5 +1,7 @@
= Logging =
+== Geronimo ==
+
Geronimo logging is configured by three files:
* `var/log/client-log4j.properties`
* `var/log/deployer-log4j.properties`
@@ -20,6 +22,8 @@
This will use `/etc/geronimo/log4j.xml` instead of the default.
+== Jetty ==
+
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:
{{{
@@ -34,4 +38,25 @@
This will tell Jetty to put its server logs in the directory where Apache httpd puts them
(on Debian systems).
-'''FIXME''': "howl" logs?
+== HOWL ==
+
+HOWL gets its log configuration from `modules/assembly/src/plan/system-plan.xml` as well.
+ {{{
+<gbean name="geronimo.server:type=HOWLTransactionLog" class="org.apache.geronimo.transaction.log.HOWLLog">
+ <attribute name="bufferClassName">org.objectweb.howl.log.BlockLogBuffer</attribute>
+ <attribute name="bufferSizeKBytes">32</attribute>
+ <attribute name="checksumEnabled">true</attribute>
+ <attribute name="flushSleepTimeMilliseconds">50</attribute>
+ <attribute name="logFileDir">/var/log/txlog</attribute>
+ <attribute name="logFileExt">log</attribute>
+ <attribute name="logFileName">howl</attribute>
+ <attribute name="maxBlocksPerFile">-1</attribute>
+ <attribute name="maxBuffers">0</attribute>
+ <attribute name="maxLogFiles">2</attribute>
+ <attribute name="minBuffers">4</attribute>
+ <attribute name="threadsWaitingForceThreshold">-1</attribute>
+ <reference name="serverInfo">geronimo.system:role=ServerInfo</reference>
+</gbean>
+}}}
+
+This would tell HOWL to use `/var/log` for its log files.
|