You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by manish_goyal <ma...@infosys.com> on 2008/11/10 14:46:54 UTC
log4j.xml file configuration
Hi,
I need help to configure log4j.xml file to log the message from ActiveMQ JMS
queue to File.
My Java Application will be sending one JAVA object to ActiveMQ JMS queue, I
need to configure log4j.xml file to log the method of the JAVA object to the
file.
I am very new to log4j file configuration.
Please give the details regarding what are the JAR files required ?
Do I need to write JAVA program for that also?
what will be the log4j.xml file?
Thanks.
Regards,
Manish
--
View this message in context: http://www.nabble.com/log4j.xml-file-configuration-tp20420217p20420217.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: log4j.xml file configuration
Posted by Bruce Snyder <br...@gmail.com>.
On Mon, Nov 10, 2008 at 6:46 AM, manish_goyal
<ma...@infosys.com> wrote:
>
> Hi,
>
> I need help to configure log4j.xml file to log the message from ActiveMQ JMS
> queue to File.
> My Java Application will be sending one JAVA object to ActiveMQ JMS queue, I
> need to configure log4j.xml file to log the method of the JAVA object to the
> file.
>
> I am very new to log4j file configuration.
>
> Please give the details regarding what are the JAR files required ?
> Do I need to write JAVA program for that also?
>
> what will be the log4j.xml file?
Please see the following FAQ entry about Log4J configuration:
http://activemq.apache.org/how-do-i-change-the-logging.html
Please note that ActiveMQ uses the properties file style of
configuration instead of the XML style of configuration.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Blog: http://bruceblog.org/