Re: Multiple Appenders additivity

2008-08-25 Thread David Britton
On Fri, Aug 22, 2008 at 07:18:09AM +, Omer Dogan wrote: When i was trying to log on console with additivity, i realise log4j dont care if parent categories have appropriate level to log the event. is this a design choice and are there any other way to prevent the appenders from logging

How to get values from log4j.xml file

2008-08-25 Thread Reza Razavipour
All, I have a log4j.xml file for my application. I have something like the following in the file: appender name=SERVER_LOG class=org.jboss.logging.appender.DailyRollingFileAppender errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/ param

which config file

2008-08-25 Thread Reza Razavipour
All, how can I programmatically determine the URL to the xml file that my app has configured itself based on? What I am trying to do is to get the URL, load it into a DOMConfigurator so I can determine the specifics of an appender. Is there a better way? Thanks Reza

JMS Appender Issue - log4j

2008-08-25 Thread NehaG
Hi All I am trying to use JMS Appender of log4j in my application using log4j.properties file - but its not running. I am using the jboss-4.2.2.GA Server. The error I am getting is as follows: log4j:WARN No appenders could be found for