How to make Apache Common Logging Write to Specific Disc Log File
Posted
by Yan Cheng CHEOK
on Stack Overflow
See other posts from Stack Overflow
or by Yan Cheng CHEOK
Published on 2010-04-13T07:56:17Z
Indexed on
2010/04/13
8:12 UTC
Read the original article
Hit count: 275
java
I am using Apache Common Logging in Desktop Application.
private static final Log log = LogFactory.getLog(Utils.class);
How can I direct, Apache Common Logging to write to disc log file, when I perform
log.error(null, exp);
Thanks.
© Stack Overflow or respective owner