Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions en/access-logging.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@ <h2 id="configuring-logging">Configuring Logging</h2>
For details on the access logging configuration see <a href="reference/services-container.html#accesslog">
accesslog in the container</a> element in <em>services.xml</em>.
</p>
<p>
Key configuration options include:
</p>
<ul>
<li><strong>fileNamePattern</strong>: Pattern for log file names with time variable support</li>
<li><strong>rotationInterval</strong>: Time-based rotation schedule (minutes since midnight)</li>
<li><strong>rotationSize</strong>: Size-based rotation threshold in bytes (0 = disabled)</li>
<li><strong>rotationScheme</strong>: Either 'sequence' or 'date'</li>
<li><strong>compressionFormat</strong>: GZIP or ZSTD compression for rotated files</li>
</ul>

<h3 id="logging-request-content">Logging Request Content</h3>
<p>
Expand Down Expand Up @@ -186,7 +196,7 @@ <h2 id="log-rotation">Log rotation</h2>
<p>
Apache httpd style log <em>rotation</em> can be configured by setting the <em>rotationScheme</em>.
There's two alternatives for the rotationScheme, sequence and date.
The rotation time is controlled by setting <em>rotationInterval</em>.
Rotation can be triggered by time intervals using <em>rotationInterval</em> and/or by file size using <em>rotationSize</em>.
</p>


Expand Down Expand Up @@ -241,7 +251,6 @@ <h3 id="rotation-interval">Rotation interval</h3>
E.g. "0 100 240 480 ..." is expanded to "0 100 240 480 720 960 1200"
</p>


<h3 id="log-retention">Log retention</h3>
<p>
Access logs are rotated, but not deleted by Vespa processes.
Expand Down