Closed vikyd closed 6 years ago
settings:
FileName: "t.log", MaxAge: 7, MaxBackups: 3,
my log files:
t-2018-09-03T00-00-00.00.log t-2018-08-20T00-00-00.00.log
current time:
2018-09-04
I don't want to delete the second log file t-2018-08-20T00-00-00.00.log, because there are not too many files.
t-2018-08-20T00-00-00.00.log
If there an option to archive it, it will be nice.
Shouldn't increase MaxAge work for you?
@xiegeo Yes!
settings:
my log files:
current time:
I don't want to delete the second log file
t-2018-08-20T00-00-00.00.log
, because there are not too many files.If there an option to archive it, it will be nice.