log4j - WriterAppender

G

GG

Hi everybody!

I'm using log4j in an application. I use a log4j.properties
configuration file (XML format).

When I use the appender "FileAppender" for logging, no problem.
However, it will be soon deprecated. On the apache website, they
recommend to use "WriterAppender". I cannot manage to make it work!

Does anyone has an idea about the properties of "writerAppender" (e.g.
how to specify the output file, ...)?

Any help is welcomed.

Thanks in advance.

GG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top