rollingPolicy maxHistory=30; fileNamePattern
$
{logs-name}-warn.%d{yyyy-MM-dd}.%i.log
Will remove the logs from another appender (maxHistory=0); with fileNamePattern
${logs-name}
.%d
{yyyy-MM-dd_HH}
.%i.log
-------
Probably short description is wrong.
Full story:
On our servers some log files older then 30 hours are disappearing.
We have two sets of log files WARN and DEBUG
the maxHistory set to 0 for DEBUG logs. But they are disappearing.
the maxHistory set to 30 for WARN logs that have a different name pattern
|