Working With Log Files > Splitting event log files > Setting log splitting options > Editing the log_hosts.config file
|
You can specify keywords in the log_hosts.config file to record in a separate log file all transactions from origin servers that contain the specified keyword in their names. For example, if you specify the keyword sports, Content Gateway records all HTTP and FTP transactions from sports.yahoo.com and www.foxsports.com in a log file called squid-sports.log (if the Squid format is enabled).
|
If Content Gateway is clustered and if you enable log file collation, it is recommended that you use the same log_hosts.config file on every node in the cluster.
|
1.
|
4.
|
To apply the changes, run the following command from the Content Gateway bin directory (/opt/WCG/bin):
|
Working With Log Files > Splitting event log files > Setting log splitting options > Editing the log_hosts.config file
|