Exception: Access to path c:\logrotate.status is denied.
Implementation of logrotate utility for Windows Platform
Brought to you by:
kennethsalter,
plecos
When I run logrotate with -f (force rotation, for testing), I get ==> "Exception: Access to path c:\logrotate.status is denied. "
Files cannot and should not be placed out to the c: root directory. It denies access.
I had to set up some pathing, because I am using Snort for Windows, which places files in Snort directories,
which was unsuccessful to place files there, so tried to place the test files in the users area, but was unsucessful.
I need logrotatewin to read the log files from the c:\Snort\bin or c:\Snort\log directories, and place the resulting rotated files in a "allowed" subdirectory, and not the root directory.
How do I set up the pathing or subdirectories to accomplish the log rotation?