4 Replies Latest reply on Jul 8, 2009 5:07 AM by Adrian Woodhead

    using log4j in JBoss Messaging client

    Adrian Woodhead Newbie

      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?