-
Notifications
You must be signed in to change notification settings - Fork 160
Do we need to implement logrotate for the go-audit.log file? #83
Copy link
Copy link
Open
Description
- [X ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
- [ X] I've read and agree to the Code of Conduct.
- [X ] I've searched for any related issues and avoided creating a duplicate issue.
Description
Do we need to implement logrotate for the go-audit.log file? Or is there a way to add logrotate in the go-audit.yaml file?
In auditd you can set logrotate in the auditd.conf file just wondering if there is something similar in go-audit.
max_log_file = 8
num_logs = 5
max_log_file_action = ROTATE
Reproducible in:
go-audit version: 1
OS version(s): Centos 8
Steps to reproduce:
Expected result:
go-audit.log does not grow to big in size.
Actual result:
e.g. What actually happened
Attachments:
e.g. Logs, screenshots, screencast, sample project, funny gif, etc.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels