plecos/logrotatewin

LogRotateWin In Remote Desktop

Opened this issue · 0 comments

Hi,
I am trying to use LogRotateWin Utility for performing log rotations to control the increasing size of the mongo log file. It works well in my system but when I used it on a remote desktop with Mongo installed in Authentication Mode, It performs renaming of the log file for 3 times (as set in conf file) but cannot delete the files after that.
Please help me with this issue.
Attachments:
1] logrotate output after 3 rotations.
Screenshot (2)

2] Conf file content:
C:\ProgramData\ItantaAnalytics\mongodb.log {
nocompress
daily
size 100k
missingok
rotate 3
postrotate
C:\ProgramData\logrotate\notify_mongodb_service.bat
endscript
}