Skip to content
Snippets Groups Projects
Commit 8422ff24 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/arocom#1590 Update logrotate to keep logs for only 7 days for GDPR compliance

parent 2cbae278
No related branches found
No related tags found
No related merge requests found
......@@ -108,5 +108,6 @@
owner=root
group=root
mode='644'
tags: 'logrotate'
when: '"nodejs" not in excluded_roles'
/var/log/nodejs/*.log {
daily
rotate 7
missingok
rotate 14
compress
delaycompress
notifempty
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment