[jboss-user] [JBoss Messaging] - using log4j in JBoss Messaging client

AdrianWoodhead do-not-reply at jboss.com
Tue Jul 7 12:21:31 EDT 2009


I have a JBM client application (2.0.0.BETA3) and when I restart the JBM server a number of error messages appear on sys err in the client. I would like to direct these using log4j. In the documentation I read that JBM uses Java logging and that adding this line

handlers=org.jboss.messaging.integration.logging.Log4jLoggerHandler

to a "logging.properties" file on the classpath would cause JBM to use log4j. However I have the feeling this may only apply to the server as I tried this on the client and the messages still go to sys err. Is there a way to use log4j on the client?

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

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



More information about the jboss-user mailing list