You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Tore Halset <ha...@pvv.ntnu.no> on 2003/06/04 14:05:58 UTC

Shared-JanitorThread and verbose logging

Hello.

I am running jboss-3.0.7_jakarta-tomcat-4.1.24 with tapestry 3.0 beta 1.

The console get full of DEBUG-logging from Shared-JanitorThread. How can I
get rid of that?

 - Tore.

14:02:59,419 INFO  [STDOUT] 4130438 [Shared-JanitorThread] DEBUG
org.apache.tape
stry.util.pool.Pool  - Executing cleanup of
org.apache.tapestry.util.pool.Pool@e
59895[generation=40,pooledCount=0]
14:02:59,419 INFO  [STDOUT] 4130438 [Shared-JanitorThread] DEBUG
org.apache.tape
stry.util.pool.Pool  - Culled 0 pooled objects and 0 keys.
14:02:59,419 INFO  [STDOUT] 4130438 [Shared-JanitorThread] DEBUG
org.apache.tape
stry.util.pool.Pool  - Culled 0 pooled objects and 0 keys.
14:03:30,154 INFO  [STDOUT] 4161173 [Shared-JanitorThread] DEBUG
org.apache.tape
stry.util.pool.Pool  - Executing cleanup of
org.apache.tapestry.util.pool.Pool@8
36727[generation=41,pooledCount=0]
14:03:30,154 INFO  [STDOUT] 4161173 [Shared-JanitorThread] DEBUG
org.apache.tape
stry.util.pool.Pool  - Executing cleanup of
org.apache.tapestry.util.pool.Pool@8
36727[generation=41,pooledCount=0]

Re: Shared-JanitorThread and verbose logging

Posted by Bryan Lewis <br...@maine.rr.com>.
Tore Halset wrote:

> My log4j.xml in jboss is as it is in the jboss-distribution. Looks like
> DEBUG-messages from tapestry are printed as INFO by log4j in jboss.
> Anyone?

FWIW... I haven't tried the very latest distributions (I'm still on tapestry
2.4-alpha-5 and JBoss 3.2.0 and I don't see any Shared-JanitorThread) but it
looks like it's doing the expected thing.  The INFO messages from Tapestry
are printed as INFO by JBoss.  For example, this Tapestry code:

        if (LOG.isInfoEnabled())
            LOG.info("Registered " + adaptor + " for " +
Tapestry.getClassName(registrationClass));

causes this in the JBoss log:

    2003-06-05 12:50:33,252 INFO  [AdaptorRegistry]
        Registered org.apache.tapestry.util.io.StringAdaptor@2e43f1 for
java.lang.String

That's without modifying log4j.xml, of course.


----- Original Message -----
From: "Tore Halset" <ha...@pvv.ntnu.no>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Thursday, June 05, 2003 4:50 AM
Subject: RE: Shared-JanitorThread and verbose logging


> On Wed, 4 Jun 2003, Howard M. Lewis Ship wrote:
>
> > Configure Log4J to not output debug level messages.  There's a log4j.xml
or log4j.properties file in
> > your JBoss server directory.
>
>
>  - Tore.


RE: Shared-JanitorThread and verbose logging

Posted by Tore Halset <ha...@pvv.ntnu.no>.
On Wed, 4 Jun 2003, Howard M. Lewis Ship wrote:

> Configure Log4J to not output debug level messages.  There's a log4j.xml or log4j.properties file in
> your JBoss server directory.

My log4j.xml in jboss is as it is in the jboss-distribution. Looks like
DEBUG-messages from tapestry are printed as INFO by log4j in jboss.
Anyone?

 - Tore.

> > 14:02:59,419 INFO  [STDOUT] 4130438 [Shared-JanitorThread]
> > DEBUG org.apache.tape stry.util.pool.Pool  - Executing
> > cleanup of org.apache.tapestry.util.pool.Pool@e
> > 59895[generation=40,pooledCount=0]
> > 14:02:59,419 INFO  [STDOUT] 4130438 [Shared-JanitorThread]
> > DEBUG org.apache.tape stry.util.pool.Pool  - Culled 0 pooled
> > objects and 0 keys. 14:02:59,419 INFO  [STDOUT] 4130438
> > [Shared-JanitorThread] DEBUG org.apache.tape
> > stry.util.pool.Pool  - Culled 0 pooled objects and 0 keys.
> > 14:03:30,154 INFO  [STDOUT] 4161173 [Shared-JanitorThread]
> > DEBUG org.apache.tape stry.util.pool.Pool  - Executing
> > cleanup of org.apache.tapestry.util.pool.Pool@8
> > 36727[generation=41,pooledCount=0]
> > 14:03:30,154 INFO  [STDOUT] 4161173 [Shared-JanitorThread]
> > DEBUG org.apache.tape stry.util.pool.Pool  - Executing
> > cleanup of org.apache.tapestry.util.pool.Pool@8
> > 36727[generation=41,pooledCount=0]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>

About distribution

Posted by Ariel Pablo Klein <ap...@bigfoot.com>.
Hi, where I can read or ask something about distribution? For example:
Jetty in CVS doesn't include crimson.jar and jaxp... And tapestry 3.01
from cvs is requiring it from jetty directory...  I know that I can
change, but I want to maintain my dependencies correctly.

Thanks
Ariel




RE: Shared-JanitorThread and verbose logging

Posted by "Howard M. Lewis Ship" <hl...@attbi.com>.
Configure Log4J to not output debug level messages.  There's a log4j.xml or log4j.properties file in
your JBoss server directory.

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry



> -----Original Message-----
> From: Tore Halset [mailto:halset@pvv.ntnu.no] 
> Sent: Wednesday, June 04, 2003 8:06 AM
> To: Tapestry users
> Subject: Shared-JanitorThread and verbose logging
> 
> 
> Hello.
> 
> I am running jboss-3.0.7_jakarta-tomcat-4.1.24 with tapestry 
> 3.0 beta 1.
> 
> The console get full of DEBUG-logging from 
> Shared-JanitorThread. How can I get rid of that?
> 
>  - Tore.
> 
> 14:02:59,419 INFO  [STDOUT] 4130438 [Shared-JanitorThread] 
> DEBUG org.apache.tape stry.util.pool.Pool  - Executing 
> cleanup of org.apache.tapestry.util.pool.Pool@e
> 59895[generation=40,pooledCount=0]
> 14:02:59,419 INFO  [STDOUT] 4130438 [Shared-JanitorThread] 
> DEBUG org.apache.tape stry.util.pool.Pool  - Culled 0 pooled 
> objects and 0 keys. 14:02:59,419 INFO  [STDOUT] 4130438 
> [Shared-JanitorThread] DEBUG org.apache.tape 
> stry.util.pool.Pool  - Culled 0 pooled objects and 0 keys. 
> 14:03:30,154 INFO  [STDOUT] 4161173 [Shared-JanitorThread] 
> DEBUG org.apache.tape stry.util.pool.Pool  - Executing 
> cleanup of org.apache.tapestry.util.pool.Pool@8
> 36727[generation=41,pooledCount=0]
> 14:03:30,154 INFO  [STDOUT] 4161173 [Shared-JanitorThread] 
> DEBUG org.apache.tape stry.util.pool.Pool  - Executing 
> cleanup of org.apache.tapestry.util.pool.Pool@8
> 36727[generation=41,pooledCount=0]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>