Skip to content
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

Do we need to implement logrotate for the go-audit.log file? #83

Open
Taurino3 opened this issue Jul 14, 2020 · 0 comments
Open

Do we need to implement logrotate for the go-audit.log file? #83

Taurino3 opened this issue Jul 14, 2020 · 0 comments

Comments

@Taurino3
Copy link

  • [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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant