incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Sling Website > Client Request Logging
Date Fri, 05 Aug 2011 07:10:00 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/2042/9/1/_/styles/combined.css?spaceKey=SLINGxSITE&amp;forWysiwyg=true"
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="">Client
Request Logging</a></h2>
    <h4>Page  <b>added</b> by             <a href="">Felix
    <div class="notificationGreySide">
         <h1><a name="ClientRequestLogging-ClientRequestLogging"></a>Client
Request Logging</h1>

<p>Sling provides extensive support to log various information at the before and after
processing client requests. Out of the box, there are two loggers configured to write traditional
<tt>access.log</tt> and <tt>request.log</tt> files. In addition more
logging can be configured by providing OSGi Configuration Admin configuration.</p>

<h2><a name="ClientRequestLogging-Traditionalaccess.logandrequest.logFiles"></a>Traditional
access.log and request.log Files</h2>

<p>In the Web Console configure the <em>Apache Sling Request Logger</em>
(PID=<tt></tt>) configuration.</p>


<h3><a name="ClientRequestLogging-AdditionalperrequestLoggers"></a>Additional
per-request Loggers</h3>

<p>In the Web Console create <em>Apache Sling Customizable Request Data Logger</em>
(Factory PID=<tt></tt>) configuration.</p>


<h4><a name="ClientRequestLogging-RotatingLoggerFiles"></a>Rotating Logger

    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href=""
class="grey">Change Notification Preferences</a>
       <a href="">View
       <a href=";showCommentArea=true#addcomment">Add

View raw message