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

Forum statistics

Threads
474,266
Messages
2,571,082
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top