-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows - sensu-client.log does not rotate #618
Comments
|
Adding the logpath option as well: Going to let this burn for a few days and we will see what happens. |
|
Hi, can you explain where do you put these options ? |
|
@jothoma1 sure: |
Description of problem
Sensu wrapper service is not configured to rotate logs on windows
Platform and version information
Occurs on Windows Server 2012R2
Info
erb template that causes the issue: https://github.com/sensu/sensu-puppet/blob/master/templates/sensu-client.erb
winsw info around logging: https://github.com/kohsuke/winsw/blob/master/doc/loggingAndErrorReporting.md#rotate-mode
Im thinking we add the following to the erb template, this would keep 10x 10MB log files and delete the oldest.
The text was updated successfully, but these errors were encountered: