Title: SMTPAppender : need to access the evaluator

Hi,

I need to create my own appender that extends SMTPAppender (see the reason why in the message "SMTPAppender buffer size" posted in the Users mailing-list).

It uses a custom evaluator (realizing TriggeringEventEvaluator).
The problem is that I can not access the evaluator from my appender because its visibility is the default one ("package"). And you can imagine that my appender is not in the org.apache.log4j.net package !

So my question is : would it be possible to set the SMTPAppender's attributes to the "protected" visibility or to create a "getter" method (public TriggeringEventEvaluator getEvaluator()) ? I don't think it would have security consequences.

Thanks.

Simon BRANDHOF

Reply via email to