FileAppenders don't create necessary directories
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Michael_Smith
Posted On:   Thursday, March 27, 2003 02:32 PM

Is there a way to get log4j to create the directories found in the File parameter of the FileAppenders?


I ask because the log4j configuration file is likely to be changed by the application's end user. If a user changes the target file's location and the directories don't exist log4j reports an error saying the "...options are not set..."

About | Sitemap | Contact