diff -crN srg-1.0-orig/configuration.cc srg-1.0/configuration.cc *** srg-1.0-orig/configuration.cc 2004-06-07 06:37:17.000000000 +0200 --- srg-1.0/configuration.cc 2004-09-15 23:24:18.000000000 +0200 *************** *** 76,81 **** --- 76,82 ---- "-T
!
!
The -H
By passing -HL, SRG will perform a DNS lookup on any hostnames which are IP addresses (to try to get a more meaningful report).
-HN will ignore this, and simply show the IP address.
The -L switch tells SRG to show a report for the URL location, rather than just a link to the site.
This location report can hold very useful information, such as the times the site was accessed.
SRG automatically creates directories in the format of YYYYMMDD-YYYMMDD. If, while creating the latest report, a directory is found to be older than the value specified by -m (in days), that directory is deleted, and will no longer show up in reports. So, if you use this option and require archival, make sure to do it before the folders expire.
!Squid needs to output the log files using two options:
1) Native log file format. The 'emulate_httpd_log' option breaks this.
2) No spaces in URLs. This is the default configuration for uri_whitespace.
--- 173,209 ----
Comments can be added using a '#' at the start of the line.
SRG can extract login names from the proxy's log file. Should you need to ! expand them to some other value (e.g.: full user names), you may supply ! a filename for the -U switch.
!e.g. "./srg -U login2fullname.txt".
!The structure of the file is as follows:
! login FirstName LastName
! user1 John Doe
! In reports, login will be substituted with the values you supplied
! on the line (they'll be concatenated). Comments can be added using a '#' at the start of the line.
!
The -H
By passing -HL, SRG will perform a DNS lookup on any hostnames which are IP addresses (to try to get a more meaningful report).
-HN will ignore this, and simply show the IP address.
The -L switch tells SRG to show a report for the URL location, rather than just a link to the site.
This location report can hold very useful information, such as the times the site was accessed.
SRG automatically creates directories in the format of YYYYMMDD-YYYMMDD. If, while creating the latest report, a directory is found to be older than the value specified by -m (in days), that directory is deleted, and will no longer show up in reports. So, if you use this option and require archival, make sure to do it before the folders expire.
!Squid needs to output the log files using two options:
1) Native log file format. The 'emulate_httpd_log' option breaks this.
2) No spaces in URLs. This is the default configuration for uri_whitespace.