Wesky, Write your own class that derives from FileAppender. Check out how I did it here: http://insario.com/blog/jfk/ -Josh
________________________________ From: ??? [mailto:[EMAIL PROTECTED] Sent: Thu 9/15/2005 11:14 PM To: [email protected] Subject: Dynamically Setting File Name in FileAppender I am using FileAppender and want to dynamically set the path and name of the logging file according the windows environment variables. So can you tell me whether it can be solved by the configuration file, or, must i configurate it programmatically? (You know that i have made a lot of settings in the config file, and i won't be happy to embed all of them in my code) Thanks. Wesky
<<winmail.dat>>
