P
ProgDario
HI,
my customer asked me to log the application events with a rotation file
appenderm, a new file is created when the previous file reachs a
certain size.
The subtle thing is that when the maximum number of file is reached,
the old one must me deleted and a new file has to be created.
Morover, every file name must contain the date time in its path.
So if the file size limit is 4 and a new file is created, the first
file is erased, and the new file name created contains the date/time
detail:
[FileName_29-04-05_12:12:12.log] -> erased
FileName_29-04-05_12:17:05.log
FileName_29-04-05_12:22:45.log
FileName_29-04-05_12:35:45.log
FileName_29-04-05_12:50:01.log -> new file created
Any hint??
Thanks!!
ario
my customer asked me to log the application events with a rotation file
appenderm, a new file is created when the previous file reachs a
certain size.
The subtle thing is that when the maximum number of file is reached,
the old one must me deleted and a new file has to be created.
Morover, every file name must contain the date time in its path.
So if the file size limit is 4 and a new file is created, the first
file is erased, and the new file name created contains the date/time
detail:
[FileName_29-04-05_12:12:12.log] -> erased
FileName_29-04-05_12:17:05.log
FileName_29-04-05_12:22:45.log
FileName_29-04-05_12:35:45.log
FileName_29-04-05_12:50:01.log -> new file created
Any hint??
Thanks!!
ario