Go to the table of contents Go to the previous page Go to the next page Go to the index View or print as PDF
Configuration Files > log_hosts.config
Note 
It is recommended that you use the same log_hosts.config file on every Content Gateway node in your cluster.
Important 
After you modify this file, run content_line -x from the Content Gateway bin directory (/opt/WCG/bin) to apply the changes. When you apply the changes to a node in a cluster, Content Gateway applies the changes to all nodes in the cluster.
Each line in the log_hosts.config file has the following format:
where hostname is the hostname of the origin server.
Note 
You can specify keywords in the log_hosts.config file to record all transactions from origin servers with the specified keyword in their names in a separate log file. See the example below.
The following example records all HTTP and FTP transactions from origin servers that contain sports in their names (for example, sports.yahoo.com and www.foxsports.com) in a log file called squid-sport.log (the Squid format is enabled):

Go to the table of contents Go to the previous page Go to the next page Go to the index View or print as PDF
Configuration Files > log_hosts.config