Sample xml configuration for log4j, have a 'main' java application and want to write to file

Posted by Blankman on Stack Overflow See other posts from Stack Overflow or by Blankman
Published on 2010-04-11T23:42:23Z Indexed on 2010/04/11 23:53 UTC
Read the original article Hit count: 232

Filed under:
|

Are there any example log4j configuration files (XML).

I have a java main application.

I want log4j to output to console AND write to file.

Any examples of this would be greatly appreciated.

I'm using netbeans if that matters.

© Stack Overflow or respective owner

Related posts about java

Related posts about log4j