[jboss-user] [Beginners Corner] - logging

nvkanaskar do-not-reply at jboss.com
Fri Dec 5 12:29:25 EST 2008


hello All

i am using jboss 4.0.0.
I need to turn on selective logging
where only debug sys.out statements 
from java code would be written in log file.
I tried - setting the THRESHOLD value
to 'DEBUG' in server/default/conf/log4j.xml.
But this puts all the unnecessary logging - 
hibernate queries and all other - into the server.log.
making the file size into above 500 MB.
Any help would be appreciated in this.

I want to log only sys.out from the java code,
and nothing else.

Thanks.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194672#4194672

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194672



More information about the jboss-user mailing list