Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to use DatePattern for RollingFileAppender.
or MaxFileSize in DailyRollingFileAppender so that i want to print the date to the logfile

for eg, currently my logfile was errorlogs.log with maxsize backup of 5kb.
and i want the file as errorlogs.log.20110503 and roollout with the size of same 5kb

Can anybody help me in this..
Posted
Updated 2-May-11 20:30pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900