File: ipv6loganon.conf

package info (click to toggle)
ipv6calc 4.1.0-0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,676 kB
  • sloc: ansic: 101,567; sh: 6,796; perl: 3,867; xml: 1,475; makefile: 909
file content (26 lines) | stat: -rw-r--r-- 864 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
### This additional Apache web server configuration enables additional logging
### with anonymized IPv4/IPv6 addresses
#
# $Id$
#
# Place this file in /etc/httpd/conf.d/ and enable log directives you want to use

<IfModule log_config_module>

	## Default log with cronolog extension
	## Works with Apache 2.0/2.2/2.4
	#CustomLog "|/usr/sbin/cronolog /var/log/httpd/access.log-%Y%m%d" combined

	## Anonymized log
	## Works with Apache 2.0/2.2/2.4
	#CustomLog "|/usr/bin/ipv6loganon -f -a /var/log/httpd/access-anon_log" combined

	## Anonymized log with cronolog extension
<IfVersion < 2.4>	
	#CustomLog "|/usr/bin/ipv6loganon -f |/usr/sbin/cronolog /var/log/httpd/access-anon.log-%Y%m%d" combined
</IfVersion>
<IfVersion >= 2.4>	
	#CustomLog "|$/usr/bin/ipv6loganon -f |/usr/sbin/cronolog /var/log/httpd/access-anon.log-%Y%m%d" combined
</IfVersion>

</IfModule>