httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@zyzzyva.com>
Subject Re: [PATCH] Disabling logging based on envariable
Date Fri, 15 Aug 1997 20:54:14 GMT

> >Assuming this patch doesn't disable logging to specific logs, how about
> >something like this..
> >
> ><Logfile>
> >	LogFormat "%h - %u %t \"%r\" %s %b"
> >	LogUnless env=that_bloody_robot_again
> ></Logfile>
> >
> ><Logfile>
> >	CustomLog logs/kaboom "%h - %u %t \"%r\" %s %b \"\" \"%{User-agent}i\""
> >	LogIf status>=500
> ></Logfile>
> >
> ><Logfile>
> >	CustomLog logs/referer "%{referer}i -> %U"
> >	LogIf env=referer_exists
> >	LogUnless env=referer_is_not_local
> ></Logfile>
> 
>     Very nice - but a *lot* more work.  Can we reserve this for a future
>     (2.0?) iteration?
> 
>     #ken    :-)}

Not a -1, BUT...

Anything we put out there, we are somewhat obligated to maintain 
some backward compatibility. Would it be worth putting off to be 
able to do it as RobH suggests. Very clean example Rob.




Mime
View raw message