e_dawg
09-29-2002, 02:24 AM
I wrote up a dirty little virtual host logfile splitter/compressor in perl last night to take the really easy to modify LogFormat-able CustomLogs for the virtual hosts and split them on the first entry in the log line (which I happened to set to the canonical virtual host name).
Now, this is easy and pretty enough, but the ErrorLog cannot be reformatted and I haven't the slightest clue how to produce v-host specific error logs for mass-configured virtual hosts. Is there some type of magic trick to do this? I'm now running Apache 2, so I cannot run my old SQL logging system which was rather easy to split on the vhosts for both access and error logs.
Any clues? Hopefully without writing or doing heavy modifications to a logging module... (I am not terribly familiar with the new Apache 2 API and I don't want to patch every release of Apache before I compile it).
Thanks.
Now, this is easy and pretty enough, but the ErrorLog cannot be reformatted and I haven't the slightest clue how to produce v-host specific error logs for mass-configured virtual hosts. Is there some type of magic trick to do this? I'm now running Apache 2, so I cannot run my old SQL logging system which was rather easy to split on the vhosts for both access and error logs.
Any clues? Hopefully without writing or doing heavy modifications to a logging module... (I am not terribly familiar with the new Apache 2 API and I don't want to patch every release of Apache before I compile it).
Thanks.