Univention Bugzilla – Bug 52502
Feature: Implement logrotation of itslearning app
Last modified: 2020-12-21 10:33:43 CET
In relation to #52495 it should also be possible to configure logrotate for itslearning via the respective logrotate UCRs as the log increases significant in larger environments. ATM a manual created logrotate is configured and the uncompressed logs are removed from time to time by the administrator. /var/log/univention/listener_modules/itslearning.log { daily rotate 14 create 640 root adm compress missingok notifempty furthermore, there is no logrotation at all for the log, which is created inside of the app. this has been approved by Itslearning, who also told me, that it is already on their agenda. This is only for reference: univention-app shell itslearning / # cd /var/lib/univention-appcenter/apps/itslearning /var/lib/univention-appcenter/apps/itslearning # ls -lah total 95M drwxr-xr-x 1 root root 4.0K Nov 23 08:42 . drwxr-xr-x 1 root root 4.0K Jul 16 11:53 .. drwxr-xr-x 2 root root 4.0K Jul 9 14:03 conf drwxr-xr-x 3 root root 4.0K Mar 27 2020 data --w---x--- 1 root root 51.0M Dec 16 07:38 log20200721162053.txt --w---x--- 1 root root 29.7M Nov 23 08:42 log20200721162053.txt.gz -rwx------ 1 root root 14.1M Jul 16 11:51 main I think, it would be good, to make the log*.txt file available outside of the app docker.
*** This bug has been marked as a duplicate of bug 52503 ***