owncloud-archive / vm

Scripts to build an ownCloud community production VM - this was in use until 9.1.x releases. Since 10.0.1 we build appliances with Univention
https://www.univention.de/produkte/univention-app-center/app-katalog/owncloud/
23 stars 14 forks source link

logrotate for owncloud.log #51

Open skriesch opened 8 years ago

skriesch commented 8 years ago

Steps to reproduce

  1. Deployment of ownCloud software with a lot of bugs or waiting half a year after a fresh installation
  2. owncloud.log is growing
  3. hard disk will be full

    Expected behaviour

owncloud.log should be compressed automatically via logrotate.

Actual behaviour

owncloud.log won't be compressed automatically. You have to compress or remove old logs manually.

Example of possible logrotate configuration

/var/log/owncloud.log { daily rotate 7 delaycompress compress notifempty missingok }

esarakaitis commented 7 years ago

+1