Created
October 20, 2015 12:03
-
-
Save fxposter/5338807f96a14f3babeb to your computer and use it in GitHub Desktop.
Docker logrotate in chef recipe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logrotate_app 'docker' do | |
path ['/var/lib/docker/containers/*/*.log', '/var/log/docker.log'] | |
rotate 30 | |
frequency 'daily' | |
options %w[notifempty missingok compress delaycompress copytruncate] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment