The default log_hosts.config file is located in /opt/WCG/config. To record HTTP and FTP 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 
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).
Note 
1.
Open the log_hosts.config file located in /opt/WCG/config.