| Author |
Log4j not writing to FileAppender
|
kwame Iwegbue
Ranch Hand
Joined: Sep 02, 2000
Posts: 197
|
|
I'm just learning to use Log4j and I've searched the Log4j site and mailing lists before posting this question here. I have this properties file: It is writing to ConsoleAppender quite alright, but not to the RollingFileAppender. I've tried placing the file 'log_output.log' in src, in /main-folder, and even WEB-INF/classes. Can someone help?
|
Who dares, wins! (SAS motto)
|
 |
Rahul Bhattacharjee
Ranch Hand
Joined: Nov 29, 2005
Posts: 2300
|
|
why do not you try with the full path of the file 'log_output.log' . like c:\test\log_output.log in the log4j.properties.
|
Rahul Bhattacharjee
LinkedIn - Blog
|
 |
 |
|
|
subject: Log4j not writing to FileAppender
|
|
|