MaRDI4NFDI / docker-wikibase

Wikibase Docker image with preinstalled extensions for the MaRDI-Portal
2 stars 0 forks source link

add logrotate (use default config) #62

Closed dajuno closed 2 years ago

dajuno commented 2 years ago

MaRDI Pull Request

install logrotate. apache logs setup is already in /etc/logrotate.d/apache2. a daily logrotate cronjob is automatically created (/etc/cron.daily/logrotate)

default setup will rotate daily and keep 14 rotations (i.e., 2 weeks).

rationale: since #61 apache logs are real files, hence a logrotation is useful to prevent huge logs

Instructions for PR review:

Checklist for this PR: