On Jul 7, 2008, at 12:41 AM, koyama wrote:

> Hi I use resin-3.1.
>
> I hava a question about access-log setting.
>
> I want to exclude exclude ".jpeg" or ".png" from log data.
>
> I found addExclude(java.util.regex.Pattern pattern) in
>  com.caucho.server.log.AccessLog.
> But I don't know how to setup it in resin.conf.
>
> <access-log path='log/access.log'>
>  <rollover-period>2W</rollover-period>
>  <init>
>     ?????  I don't know how to setup 'addExclude".
>  <init>
> </access-log>

The configuration looks like:

     <access-log path='log/access.log'>
       <exclude>\.gif$</exclude>
     </access-log>

>
>
>
> Please anyone tell me.
>
>
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to