I tried it with the following:
log4j.appender.A_writer=org.apache.log4j.WriterAppender log4j.appender.A_writer.layout=org.apache.log4j.PatternLayout log4j.appender.A_writer.Writer=de.devlogix.netz.TestWriter
But I get the message from log4j:
log4j:WARN Failed to set property [writer] to value "de.devlogix.netz.TestWriter".
What can be wrong here? The class de.devlogix.netz.TestWriter exists and I even created an object of in on runtime.
I have to say that I am not very used to configuring log4j, so I may be doing something totally wrong here. I would be pleased if someone can point me into the right direction.
BTW: How do I know what option an appender has? The option Writer to the WriterAppender was found by just trying...
Marco
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
