mpb10/PowerShell-Backup

Log rotate not functioning correctly

mpb10 opened this issue · 0 comments

mpb10 commented

When the log file is greater than 25 MB, it is supposed to have the first 50,000 lines deleted to cut the log file down by about 10 MB. Instead of removing the first 50,000 lines, the entire contents of the log file is deleted.