Thanks
It worked fine. But now I am in search of generating an log file upto say 10K or 200K. then after the max size of the log file, create another file withsame name and with current date on the end of the file name.
Your idea to proceed in right direction is more important...
p
HI
My log4j file is like this
log4j.rootCategory=, A1
log4j.appender.A1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A1.File=c:\\.......\\WEB-INF\\logs\\error_outletim.log
log4j.appender.A1.DatePattern='.'yyyy-MM-dd
log4j.appender.A1.layout=org.apache.log4j.PatternLayout...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.