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

Add logrotate.d script to packages.cloudant.com files #98

Open
taris opened this issue Mar 21, 2012 · 1 comment
Open

Add logrotate.d script to packages.cloudant.com files #98

taris opened this issue Mar 21, 2012 · 1 comment

Comments

@taris
Copy link

taris commented Mar 21, 2012

The installation packages on packages.cloudant.com are missing a logrotate script for keeping the bigcouch logs small and handy.

For example i am currently using this script:

/opt/bigcouch/var/log/*.log {
        daily
        missingok
        rotate 10
        copytruncate
        compress
        delaycompress
        notifempty
}
@nickbecker
Copy link

Since adding the following logrotate script, bigcouch crashes about 1 out of 10 times at the same time the script gets executed.

/storage/log/bigcouch.log {
rotate 100
daily
dateext
missingok
notifempty
copytruncate
compress
}

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

No branches or pull requests

2 participants