Hi,

I am trying to use the SMTPAppender on a Linux platform, with log4cxx-0.9.8, 
and I'm having problems.

I installed libsmtp, and built with the  --with-SMTP=libsmtp flag, but I still 
get the following errors:

        log4cxx: Could not instantiate class 
[org.apache.log4j.net.SMTPAppender].
        log4cxx: Class not found: org.apache.log4j.net.SMTPAppender
        log4cxx: Could not instantiate appender named "mail".

Looking at the code, I found that LOG4CXX_HAVE_SMTP is turned off. I manually 
turned it on, and am getting compiler errors in smtpappender.cpp.

This leads me to believe that SMTPAppender is not supported on Linux. Is this 
true? Or am I missing a step in my configuration?

Thanks in advance
Bruce Riley

Reply via email to