Configuring the Monitor Framework
Fabric3 server logging is handled by the monitor framework. For detauls, refer to Monitoring and Logging.
HTTP Request Logging
The Fabric3 embedded Jetty HTTP server can be configured to log access using the log child element of web.server in systemConfig. Log configuration follows the NCSA format. Configuration options are shown in the following example:
<config xmlns="urn:fabric3.org"> <web.server> <http port="8181"/> <log file="jetty.log" append="true" retain.days="5" prefer.proxied="false" filename.format="yyyy_mm_dd" locale="en" time.zone="GMT" latency="true" cookies="true" log.server="true" logDispatch="true" date.format="dd/MMM/yyyy:HH:mm:ss Z" extended="true"/> </web.server> </config>
The @file attribute configures the log file name, which is placed under the runtimes/<runtime name>/data/log
directory.
0 Comments