summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Fritsch <sf@debian.org>2009-12-06 00:02:37 +0000
committerStefan Fritsch <sf@sfritsch.de>2012-01-02 10:37:05 +0100
commitdf2b81fd49fe10a5fc54288d22bc938776c6566d (patch)
tree3a96cdde6e3d644be12120fc2a6a41958687a81d
parentc3d318cc51ec214f6af959296d10535cf9a6f460 (diff)
downloadapache2-df2b81fd49fe10a5fc54288d22bc938776c6566d.tar.gz
Add man page for split-logfile
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-apache/trunk/apache2@1104 01b336ce-410b-0410-9a02-a0e7f243c266
-rw-r--r--debian/apache2-utils.manpages3
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules2
-rw-r--r--debian/split-logfile.821
4 files changed, 25 insertions, 2 deletions
diff --git a/debian/apache2-utils.manpages b/debian/apache2-utils.manpages
new file mode 100644
index 00000000..89c2991f
--- /dev/null
+++ b/debian/apache2-utils.manpages
@@ -0,0 +1,3 @@
+debian/check_forensic.8
+debian/checkgid.8
+debian/split-logfile.8
diff --git a/debian/changelog b/debian/changelog
index 4c0f0909..f3d1bd3c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ apache2 (2.2.14-4) UNRELEASED; urgency=low
* mod_rewrite: Fix URLs in redirects with literal IPv6 hosts
(closes: #557015).
* Automatically listen on port 443 if mod_gnutls is loaded (closes: #558234).
+ * Add man page for split-logfile.
* Link with -lcrypt where necessary to fix a FTBFS with binutils-gold
(closes: #553946).
diff --git a/debian/rules b/debian/rules
index 4280fc4f..55fd3836 100755
--- a/debian/rules
+++ b/debian/rules
@@ -254,8 +254,6 @@ install: build install-worker install-prefork install-common install-dev
#apache2-utils extras
cp support/check_forensic debian/apache2-utils/usr/sbin/check_forensic
- cp debian/check_forensic.8 debian/apache2-utils/usr/share/man/man8/check_forensic.8
- cp debian/checkgid.8 debian/apache2-utils/usr/share/man/man8/checkgid.8
cp $(BUILD)/worker/support/split-logfile debian/apache2-utils/usr/sbin/split-logfile
chmod 755 debian/apache2-utils/usr/sbin/split-logfile
diff --git a/debian/split-logfile.8 b/debian/split-logfile.8
new file mode 100644
index 00000000..b4879f93
--- /dev/null
+++ b/debian/split-logfile.8
@@ -0,0 +1,21 @@
+.TH "SPLIT-LOGFILE" 8 "2009-12-06" "Apache HTTP Server" "split-logfile"
+
+.SH NAME
+split-logfile - Split combined virtual hosts access log into one file per virtual host
+
+.SH "SYNOPSIS"
+
+.PP
+\fBsplit-logfile\fR < \fIlogfile\fR
+
+.SH "SUMMARY"
+
+.PP
+This script will take a combined Web server access log file and break its contents into separate files.
+It assumes that the first field of each line is the virtual host identity (put there by "%v"), and that the logfiles should be named that+".log" in the current directory.
+
+The combined log file is read from stdin.
+Records read will be appended to any existing log files.
+
+.SH "EXAMPLES"
+split-logfile < /var/log/apache2/other_vhosts_access.log