Ought to be a piece of cake with perl, and to set to a log format that
includes the virtual host is easy enough with a single configuration
directive. You could even do it with a single grep for each virtual server
if you wanted.
Also, from my reading of the file limit problem on apache's docs, it's not
always a simple problem to increase the limit depending on what OS you're
running. If the server hosts other services as well, the resource would be
taxed further.
Hmm, I might need to write such a script... I host a bunch of virtual sites
that are currently all being dumped into one log file. Now the time is
coming that I need to analyze the sites...
Jamie
At 09:36 AM 5/24/00 +0100, Airey, John wrote:
>That doesn't sound simple to me! You'd either have to do it as either a
>multi-pass for each virtual host, or parse the log file once to give several
>output files. You'd also have to write the name of the virtual host into
>every log file entry, which I don't believe is done by default. Seems like
>using a sledgehammer to crack a nut.
>
>No doubt though some sed or awk guru can figure the code to do this in their
>head!
>
>I'd rather find a way to continue to write multiple log files, via ulimit
>etc...
>
>John
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]