Chapter 12
4. To use the Netscape Common format, edit the following variables:
Variable
proxy.config.log2.common_log_enabled
proxy.config.log2.common_log_is_ascii
proxy.config.log2.common_log_name
proxy.config.log2.common_log_header
5. To use the Netscape Extended format, edit the following variables:
Variable
proxy.config.log2.extended_log_enabled Set this variable to 1 to enable the Netscape Extended log
proxy.config.log2.extended_log_is_ascii
proxy.config.log2.extended_log_name
proxy.config.log2.extended_log_header
6. To use the Netscape Extended2 format, edit the following variables:
Variable
proxy.config.log2.extended2_log_enabled
proxy.config.log2.extended2_log_is_ascii
proxy.config.log2.extended2_log_name
proxy.config.log2.extended2_log_header
7. Save and close the
8. Run the command
Using custom formats
In addition to the standard log file formats, Traffic Server also supports two models for specifying custom log
files:
Traditional (simple)
XML-based (highly configurable)
Using the XML-based format, you can also create summary log files.
Create a custom log specification if you need data for analysis that is not available in the standard formats.
You can decide what information to record for each Traffic Server transaction, and using the XML-based
custom format, you can create filters to define which transactions to log.
Description
Set this variable to 1 to enable the Netscape Common log
file format.
Set this variable to 1 to enable ASCII mode.
Set this variable to 0 to enable binary mode.
Enter the name you want to use for Netscape Common
event log files. The default is common.
Enter the header text you want to display at the top of the
Netscape Common log files.
Description
file format.
Set this variable to 1 to enable ASCII mode.
Set this variable to 0 to enable binary mode.
Enter the name you want to use for Netscape Extended
event log files. The default is extended.
Enter the header text you want to display at the top of the
Netscape Extended log files.
file.
records.config
to apply the configuration changes.
traffic_line -x
Description
Set this variable to 1 to enable the Netscape Extended2
log file format.
Set this variable to 1 to enable ASCII mode.
Set this variable to 0 to enable binary mode.
Enter the name you want to use for Netscape Extended2
event log files. The default is extended2.
Enter the header text you want to display at the top of the
Netscape Extended2 log files.
Working with Log Files
103
Need help?
Do you have a question about the P4535A - Web Cache Server Appliance and is the answer not in the manual?
Questions and answers