Hi Pid,
Is there any other config I need to add (for instance to log4j.properties)
in order for the logAbandoned logging to occur?
I see nothing in stdout nor in the tomcat logs...
Regards,
J.

2013/3/22 Pid <p...@pidster.com>

> On 22/03/2013 14:45, Julien Martin wrote:
> > Hello,
> >
> > I have enabled the *logAbandoned* property as follows (in Spring):
> >
> > <property name="maxActive" value="2"/>
> > <property name="logAbandoned" value="true"/>
> > <property name="removeAbandoned" value="true"/>
> >
> > I know for certain it is taken into account by Tomcat but *I just can't
> > figure out where the information is logged*.
>
> It will be logged to standard out, catalina.out or catalina.{date}.log
>
> In your case, the timeBetweenEvictionRunsMillis check will happen every
> 1800000 millis, which is 1800 seconds, which is every 30 minutes for
> connections that have been idle the same period, which may mean that
> they don't qualify for eviction for over 30 mins, which in turn would
> mean the next check - 30m later.
>
> Maybe you should reduce that number during testing.
>
>
> p
>
>
> > It seems to be a recurring question on the web but I was not able to find
> > the answer to it.
> >
> > Can anyone please informed advice?
> > Regards,
> >
> > Julien.
> >
>
>
> --
>
> [key:62590808]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to