You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Amitv <am...@hcl.in> on 2010/04/14 17:49:12 UTC

Log4jJMSAppenderExample not receiving log messege

I am running the Log4jJMSAppenderExample.java file : ant log4j-jms as per
given instructions on :
http://activemq.apache.org/how-do-i-use-log4j-jms-appender-with-activemq.html,
and without any changes in the example.

ActiveMQ (5.3.0) is running on local machine itself.

Program runs but doesnt produce the listener stament from the
example(Received log [INFO]: Test log
). Output shown is: 

log4j-jms:
     [echo] Running a Log4j JMS Appender example
     [java] 2009-08-11 13:58:46,767 INFO  Log4jJMSAppenderExample - Test log
     [java] Java Result: 1



Also after looking at active mq web console, it seems like "logTopic" is
created but messege is never sent to the topic (logTopic) in local AcvtiveMQ
server as it shows 0 messages under "Messages Enqueued" column.

Can someone help me how to resolve this?

thx,
Amit
-- 
View this message in context: http://old.nabble.com/Log4jJMSAppenderExample-not-receiving-log-messege-tp28244511p28244511.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.