Close
jGuru Forums
Posted By: sendilvel_kumar Posted On: Monday, February 20, 2006 04:45 PM
Hi, I have defined the log4j appender properties under some property file as below /------------- log4j.properties------------------/ log4j.rootCategory=debug, R log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=C:\Logfiles\Test.log log4j.appender.R.MaxFileSize=100KB /-------------------------------------------------/ I don't want to define the full path eg: log4j.appender.R.File=C:\Logfiles\Test.log Is there any way to define only the path like log4j.appender.R.File=C:\Logpath\ and to generate the file dynamically?? Because I want to generate the file dynamically based on login user. Thanks&Regards, Sendilvelkumar
Re: Dynamic log file generation
Posted By: ankush_purwar Posted On: Monday, February 20, 2006 08:59 PM