Skip to content

Instantly share code, notes, and snippets.

@AfroThundr3007730
Created January 14, 2020 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AfroThundr3007730/e126909176a4ef67ca29c64a1f75b3fd to your computer and use it in GitHub Desktop.
Save AfroThundr3007730/e126909176a4ef67ca29c64a1f75b3fd to your computer and use it in GitHub Desktop.
Config for audit.log rotation using logrotate
/var/log/audit/audit.log {
weekly
missingok
notifempty
sharedscripts
rotate 5
maxsize 50M
compress
copytruncate
nodateext
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment