56 lines
1.5 KiB
HTML
56 lines
1.5 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of SPLIT-LOGFILE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>SPLIT-LOGFILE</H1>
|
|
Section: split-logfile (8)<BR>Updated: 2009-12-06<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<P>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
split-logfile - Split combined virtual hosts access log into one file per virtual host
|
|
<P>
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<BR>
|
|
<P>
|
|
|
|
<B>split-logfile</B> < <I>logfile</I>
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>SUMMARY</H2>
|
|
|
|
<BR>
|
|
<P>
|
|
|
|
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.
|
|
<P>
|
|
The combined log file is read from stdin.
|
|
Records read will be appended to any existing log files.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
split-logfile < /var/log/apache2/other_vhosts_access.log
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="3"><A HREF="#lbAD">SUMMARY</A><DD>
|
|
<DT id="4"><A HREF="#lbAE">EXAMPLES</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:16 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|