activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Heitmann <jheitm...@gmail.com>
Subject Re: Configuring log4j in 4.1
Date Tue, 12 Dec 2006 21:06:17 GMT

On Dec 12, 2006, at 1:49 AM, James Strachan wrote:
> On 12/12/06, John Heitmann <third_man@mac.com> wrote:
>> After upgrading our systems from 4.0 to 4.1 I am having a tough time
>> figuring out how to configure log4j. Our old system had a
>> log4j.properties file in a custom spot that we had ActiveMQ pull in
>> with "--extdir /some/config/dir".
>
> AFIAK log4j will look on the classpath for log4j.properties - so will
> end up looking in the directories on the classpath. So the directory
> containing the file needs to be on the classpath - not the properties
> files. Adding files to the classpath is only relevant for jars and
> zips

This turned out to be kind of the problem. The directory's contents  
were being added to the classpath, but not the directory itself. I  
added more commentary + a patch in http://issues.apache.org/activemq/ 
browse/AMQ-1096

John

Mime
View raw message