Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
Merge pull request #398 from zalando-stups/fix-logrotation
Browse files Browse the repository at this point in the history
Fix logrotation for docker and etcd
  • Loading branch information
mikkeloscar authored May 12, 2017
2 parents b997539 + 6878979 commit c30c1bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build/files
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
/etc/logrotate.d/application root:root 0644
/etc/logrotate.d/auditlog root:root 0644
/etc/logrotate.d/custom root:root 0644
/etc/logrotate.d/docker root:root 0644
/etc/logrotate.d/etcd root:root 0644
/etc/logrotate.d/rsyslog root:root 0644

/etc/default/docker root:root 0755
4 changes: 2 additions & 2 deletions runtime/etc/logrotate.d/docker
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/var/log/upstart/docker.log {
daily
missingok
size 50m
size 50M
rotate 7
compress
notifempty
nocreate
}
}

0 comments on commit c30c1bf

Please sign in to comment.