Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

« Previous Version 6 Current »

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

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.