W3C home > Mailing lists > Public > www-validator-cvs@w3.org > June 2006

perl/modules/W3C/LogValidator/lib/W3C/LogValidator Config.pm,1.10,1.11

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 22 Jun 2006 05:11:26 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1FtHTS-0004xj-Gq@lionel-hutz.w3.org>

Update of /sources/public/perl/modules/W3C/LogValidator/lib/W3C/LogValidator
In directory hutz:/tmp/cvs-serv18180/lib/W3C/LogValidator

Modified Files:
	Config.pm 
Log Message:
New feature records referer field in logs that have that info.
Creating an option to limit referer info to some regexp.
This commit creates a default value for that option.


Index: Config.pm
===================================================================
RCS file: /sources/public/perl/modules/W3C/LogValidator/lib/W3C/LogValidator/Config.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Config.pm	9 Sep 2005 06:33:11 -0000	1.10
+++ Config.pm	22 Jun 2006 05:11:24 -0000	1.11
@@ -84,6 +84,10 @@
 		push @{$conf{LogProcessor}{LogFiles}}, "/var/log/apache/access.log";
 		$conf{LogProcessor}{LogType}{"/var/log/apache/access.log"}="common";
 	}
+	if (!exists $conf{LogProcessor}{RefererMatch})
+	{	
+		$conf{LogProcessor}{RefererMatch} =".*";
+	}
 
 	if (!exists $conf{LogProcessor}{UseValidationModule})
 	{
Received on Thursday, 22 June 2006 05:11:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:17 UTC