SF.net SVN: logwatch:[114]
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Revision: 114
http://logwatch.svn.sourceforge.net/logwatch/?rev=114&view=rev
Author: stefjakobs
Date: 2012-09-25 13:04:23 +0000 (Tue, 25 Sep 2012)
Log Message:
-----------
http: unbreak and document http_rc_detail_rep. Thanks Thorsten Glaser
Modified Paths:
--------------
conf/services/http.conf
scripts/services/http
Modified: conf/services/http.conf
===================================================================
--- conf/services/http.conf 2012-09-25 12:54:35 UTC (rev 113)
+++ conf/services/http.conf 2012-09-25 13:04:23 UTC (rev 114)
@@ -68,5 +68,13 @@
# To display all user accesses except "Unauthorized":
# $HTTP_USER_DISPLAY = "$field{http_rc} != 401"
+# To raise the needed level of detail for one or more specific
+# error codes to display a summary instead of listing each
+# occurrence, set a variable like the following ones:
+# Raise 403 codes to detail level High
+#$http_rc_detail_rep_403 = 10
+# Always show only summary for 404 codes
+#$http_rc_detail_rep_404 = 20
+
# vi: shiftwidth=3 tabstop=3 et
Modified: scripts/services/http
===================================================================
--- scripts/services/http 2012-09-25 12:54:35 UTC (rev 113)
+++ scripts/services/http 2012-09-25 13:04:23 UTC (rev 114)
@@ -735,7 +735,7 @@
if (not defined $StatusCode{$code}) {
$StatusCode{$code} = "\(undefined\)";
}
- if( ($ENV{"http_rc_detail_rep-$code"} || $detail) > $detail ) {
+ if( ($ENV{"http_rc_detail_rep_$code"} || $detail) > $detail ) {
# only display summary for this code
my $t = 0;
my $u = 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/