You sure there's not another log4j.properties file on the classpath?
You positive this one is being used?

On 3/8/07, Suchitha Koneru (sukoneru) <[EMAIL PROTECTED]> wrote:

Thank you James for the help.

Yes it declares a root logger
The following are the contents
log4j.rootLogger=INFO, FILE

log4j.appender.FILE=org.apache.log4j.RollingFileAppender
log4j.appender.FILE.File=../../logs/PNMServer.log
log4j.appender.FILE.MaxFileSize=25MB
log4j.appender.FILE.MaxBackupIndex=2
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%d [%t] %-5p %c{2} - %m%n

This file is present in WEB-INF /classes directory. The exceptions were
raised  because active mq  was not able to instantiate a logger. How can
I make Active MQ use the above log4j.properties file ??

Thank you,
Suchitha.
-----Original Message-----
From: James Strachan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 07, 2007 11:55 PM
To: [email protected]
Subject: Re: active mq exceptions (when tomcat server is stopped)

On 3/8/07, Suchitha Koneru (sukoneru) <[EMAIL PROTECTED]> wrote:
> Thank you James for the response. I already have a log4j.properties
used by the web application.

Does it declare a root logger?


> Can I declare activemq_home directory , and place log4j.properties
file in it, exclusively  for active mq to use it.

Not if you are using an embedded broker. If you run it stand alone via
the activemq script, it has its own log4j.properties.

--

James
-------
http://radio.weblogs.com/0112098/



--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to