You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by BenXS <bx...@yahoo.co.uk> on 2010/02/18 15:31:33 UTC
Is log4j out-of-the-box enabled? Logging Interceptor output?
As on the webpage
http://cwiki.apache.org/confluence/display/ACTIVEMQ/Logging+Interceptor
described all output from the Logging Interceptor is written to the Loggers
of Log4j.
Is Log4j automatically enabled after installation of ActiveMQ or do I have
it to do explicitely (how ?).
In other words: if I add the XML code from
http://cwiki.apache.org/confluence/display/ACTIVEMQ/Logging+Interceptor
to activemq.xml is it always automatically immediately effective or are
there
other config adjustments required to see log messages in activemq.log?
Ben
--
View this message in context: http://old.nabble.com/Is-log4j-out-of-the-box-enabled--Logging-Interceptor-output--tp27637816p27637816.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Is log4j out-of-the-box enabled? Logging Interceptor output?
Posted by Bruce Snyder <br...@gmail.com>.
On Thu, Feb 18, 2010 at 7:31 AM, BenXS <bx...@yahoo.co.uk> wrote:
>
> As on the webpage
>
> http://cwiki.apache.org/confluence/display/ACTIVEMQ/Logging+Interceptor
>
> described all output from the Logging Interceptor is written to the Loggers
> of Log4j.
>
> Is Log4j automatically enabled after installation of ActiveMQ or do I have
> it to do explicitely (how ?).
Log4J is enabled by default and is configured using the
conf/log4j.properties file.
> In other words: if I add the XML code from
>
> http://cwiki.apache.org/confluence/display/ACTIVEMQ/Logging+Interceptor
>
> to activemq.xml is it always automatically immediately effective or are
> there
> other config adjustments required to see log messages in activemq.log?
Upon changing anything in the activemq.xml file, ActiveMQ must be
restarted for the changes to take affect.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder