User Guide
CONFIGURING CUSTOM FORMATTING IN ACCESS LOGS
CHAPTER 20: LOGGING 457
Configuring Custom Formatting in Access Logs
Use the System Administration > Log Subscriptions page to configure custom formatting for
access log file entries. Click the access log file name to edit the access log subscription.
Figure 20-2 Configuring Custom Log Fields in the Access Logs
The syntax for entering format specifiers in the Custom Field is as follows:
<format_specifier1> <format_specifier2>
For example: %a %b %d
You can add tokens before the format specifiers to display descriptive text in the access log
file. For example:
client_IP %a body_bytes %b error_type %E
where client_IP is the description token for log format specifier %a, body_bytes is the
descriptive token for
%b, and error_type is the descriptive token for %c.
Note — You can create a custom field for any header in a client request or a server response.
For more information, see “Including HTTP/HTTPS Headers in Log Files” on page 459.
Configuring Custom Formatting in W3C Logs
Use the System Administration > Log Subscriptions page to configure custom formatting for
W3C log file entries. Click the W3C log file name to edit the W3C log subscription.