diff --git a/doc/loggingAndErrorReporting.md b/doc/loggingAndErrorReporting.md index 9c86398..027f21f 100644 --- a/doc/loggingAndErrorReporting.md +++ b/doc/loggingAndErrorReporting.md @@ -67,8 +67,6 @@ Works in a combination of rotate size mode and rotate time mode, if the log file 10240 yyyyMMdd 00:00:00 - 5 - yyyyMM ``` @@ -78,6 +76,19 @@ For example, in the above example, the log of Jan 1, 2013 gets written to `myapp The syntax of the autoRollAtTime is specified by [TimeSpan.ToString(String)](https://docs.microsoft.com/dotnet/api/system.timespan.tostring#System_TimeSpan_ToString_System_String_). For example, in the above example, at the start of the day it will roll the file over. +### Automatic archiving of logs + +:warning: This feature is reported to be broken in recent WinSW versions. +It is a potential subject for removal. + + +```xml + + 5 + yyyyMM + +``` + The `zipOlderThanNumDays` can only be used in conjection with autoRollAtTime, provide the number of days of files to keep. ```xml