dcsimg
Log4J's pattern and layout
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sky_fei
Posted On:   Saturday, December 7, 2002 03:41 AM

Hi,
I am using log4J now,but i want to write the log to the
different log file named with date such as 20021206log.txt every day,and save the file every next day,that is i want to save today log file on tomorrow,how can i achieve it?
I watch the property file and feel it cannot finish this.
Will u please help me?
Thx very much!

Re: Log4J's pattern and layout

Posted By:   Brian_Kapellusch  
Posted On:   Saturday, December 7, 2002 10:09 AM

Check out the "rolling" appender. It's created for the purpose you describe.
About | Sitemap | Contact