Yes, you can use Apache env vars:
CustomLog "|${cronolog} -z GMT ${logpath}/access.${shost}.%Y%m%d%H" common
env=!special_log
CustomLog "|${cronolog} -z GMT ${logpath}/redir.${shost}.%Y%m%d%H"
redirFormat env=rd
<location /redir>
SetEnv rd 1
SetEnv special_log 1
</location>
On Tue, Jan 28, 2014 at 1:21 PM, Qingshan Xie <[email protected]> wrote:
> Hello,
>
> I'd like to filter some non-business requests into a separate log
> file. Is there any a way to do it?
>
> Thanks, Q.Xie
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>