RE: Can't find custom appender

2010-11-19 Thread Rob Outar
have saved me a few days of random guessing. --Rob -Original Message- From: Curt Arnold [mailto:curt.ar...@gmail.com] On Behalf Of Curt Arnold Sent: Friday, November 19, 2010 8:45 AM To: Log4CXX User Subject: Re: Can't find custom appender The likely suspect is that your appender i

Re: Can't find custom appender

2010-11-19 Thread Curt Arnold
The likely suspect is that your appender is not being added to the registry of known appenders before the configuration is processed. Your appender should have a macro expansion like: IMPLEMENT_LOG4CXX_OBJECT(DailyRollingFileAppender) that contains the registration code. You can set a breakpoi

RE: Can't find custom appender

2010-11-18 Thread Rob Outar
I created a custom appender that extends RollingFileAppender, my class is located in a "test" namespace and the class name is TestAppender, in my xml file I have: But when I run, log4cxx says it cannot find appender. what am I missing? Best regards, Rob