Hi,
I want to use the DailyRollingFileAppender in my project. Could any one
please let me know how to set the date pattern.
MMdd is sufficient or I need to give the 20020902 please let me know
my requirement is I need to move the log file to another location daily
, from there I will FTP
Try
All you needed to do was specify the DailyRollingFileAppender and set
the datePattern property to when you want the rollover. This particular
datePattern will rollover daily like you want.
-- Don
--- pradeep <[EMAIL PROTECTED]> wrote:
> hi guy i need to have a rollover file created at
hi guy i need to have a rollover file created at the end of each day.im
using DomConfigurator with xmlconfig file
could u suggest me how to achieve that .i know that i need to use
DailyRollingFileAppender
thx
pradeep.
here is my java code:
strXmlfile=ResourceManager.getResource(LOG_FILE_L
hi guy i need to have a rollover file created at the end of each day.im
using DomConfigurator with xmlconfig file
could u suggest me how to achieve that .i know that i need to use
DailyRollingFileAppender
thx
pradeep.
here is my java code:
strXmlfile=ResourceManager.getResource(LOG_FILE_L