[CentOS] apache log directives

Wed Apr 9 21:21:14 UTC 2008
Jason <jason at jasonandjessi.com>

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

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"