Chapter 12
3. Edit the following variables:
records.config Variable
proxy.config.log2.separate_icp_logs
proxy.config.log2.separate_nntp_logs
proxy.config.log2.separate_host_logs
4. Save and close the
5. Run the command
Editing the log_hosts.config file
The default
log_hosts.config
transactions for different origin servers in separate log files, you must specify each origin server's hostname
on a separate line in the file.
NOTE
To edit the log_hosts.config file:
1. Telnet into the HP web cache appliance and select Shell Access as described in
Methods‚ on page
2. Open the
log_hosts.config
3. Enter the hostname of each origin server on a separate line in the file. For example:
webserver1
webserver2
webserver3
4. Save and close the
5. Run the command
Description
Set this variable to 1 to record all ICP transactions in a
separate log file. Set this variable to 0 to record all ICP
transactions in the same log file as HTTP/FTP transactions.
Set this variable to 1 to record NNTP transactions in a
separate log file. Set this variable to 0 to record all NNTP
transactions in the same log file as HTTP/FTP transactions.
Set this variable to 1 to record HTTP/FTP transactions for
each host listed in log_hosts.config file in a separate log file.
Set this variable to 0 to record all HTTP/FTP transactions for
each host listed in the log_hosts.config file in the same log
file.
file.
records.config
to apply the configuration changes.
traffic_line -x
file is located in Traffic Server's
If Traffic Server is clustered and if you enable log file collation, HP recommends that
you use the same
log_hosts.config
7.
file located in Traffic Server's
file.
log_hosts.config
to apply the configuration changes.
traffic_line -x
directory. To record HTTP/FTP
config
file on every Traffic Server node in the cluster.
Overview of Access
directory with Vi.
config
Working with Log Files
114