activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oseymen <ozan.sey...@tdpg.com>
Subject Re: Log4j SMTPAppender not working within ActiveMQ-Camel
Date Tue, 13 Sep 2011 12:44:10 GMT
Here are some suggestions:

1. Put "log4j.appender.console.threshold=INFO" (in the console appender) in
a new line - in your config it seems to be in the same line as the statement
above it.
2. You have configured SMTP appender for WARN+ only - double check that you
are generating warning messages from ActiveMQ and that you can see those
messages in console.
3. In rootLogger=DEBUG mode, fire up jconsole and go to
org.apache.activemq\<brokername>\Broker\Operations and execute
reloadLog4jProperties(). You should only see "DEBUG: setDebug: JavaMail
version 1.4.4" in the console. If there is a problem with your
configuration, console should print that out for you instead. Make sure
rootLogger is in DEBUG mode and make sure you have MAIL.SMTPDebug=true
before you do this.

Cheers,
Ozan

--
View this message in context: http://activemq.2283324.n4.nabble.com/Log4j-SMTPAppender-not-working-within-ActiveMQ-Camel-tp3808210p3809958.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message