Re: Logging with ActiveMQ and Log4j

2011-03-29 Thread Oli
Hi, thanks for the help. I do think that "ALL" is a valid option. I did find out what was the problem with my setup. The issue was that I did not have the commons-logging jar in my project. Once I included that as a library, the logging worked fine. It was quite frustrating, since no error messa

Re: Logging with ActiveMQ and Log4j

2011-03-29 Thread Gary Tully
> log4j: Handling log4j.additivity.org.apache.activemq=[null] is a little odd. Don't think ALL is a valid level, use TRACE instead, see: http://logging.apache.org/log4j/1.2/manual.html On 29 March 2011 11:32, Oli wrote: > Hi. Thanks for the advice, but it still is not working. > > My activemq.lo

Re: Logging with ActiveMQ and Log4j

2011-03-29 Thread Oli
Hi. Thanks for the advice, but it still is not working. My activemq.log file gets created, but remains empty throughout the runtime of the application. Here is the output I get when I run the project with -Dlog4j.debug in the jvm start command: log4j: Trying to find [log4j.xml] using context cla

Re: Logging with ActiveMQ and Log4j

2011-03-28 Thread Gary Tully
add -Dlog4j.debug to your jvm start command to see where log4j is picking up its configuration. It may be that another properties file is providing the log4j configuration. On 28 March 2011 14:27, Oli wrote: > Hello. > > I am currently developing a java project that is using ActiveMQ. I want to >