Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Editing the log_hosts.config file
Help | Content Gateway | Version 8.1.x
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.
2.
webserver1
webserver2
webserver3
3.
4.
./content_line -x

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Copyright 2016 Forcepoint LLC. All rights reserved.