[CentOS] apache log directives

Thu Apr 10 09:42:49 UTC 2008
Michael Simpson <mikie.simpson at gmail.com>

On 4/9/08, Jason <jason at jasonandjessi.com> wrote:
> Does anyone know of a way to specify a CustomLog file name in apache
> based on the vhost?  for example, I have 10 vhosts and instead of giving
> each one a CustomLog directive and specifying a different log file I'd
> like to do something in global that does the same thing, ala
>
> vhost elvis
> customlog elvis.log
>
> vhost king
> customlog king.log
>
> becomes
> customlog $VHOST.log
>
>
> I know that this is a bad idea, I know about the open file concerns.
> It's more of a "can it be done"
>
> --
> Jason
> www.cyborgworkshop.org

Hi there

you could try this

<http://n0rp.chemlab.org/vlogger/>

mike