activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: active mq exceptions (when tomcat server is stopped)
Date Thu, 08 Mar 2007 18:45:49 GMT
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) <sukoneru@cisco.com> 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:james.strachan@gmail.com]
> Sent: Wednesday, March 07, 2007 11:55 PM
> To: users@activemq.apache.org
> Subject: Re: active mq exceptions (when tomcat server is stopped)
>
> On 3/8/07, Suchitha Koneru (sukoneru) <sukoneru@cisco.com> 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/

Mime
View raw message