Bug 52505 - Feature: Implement logrotation of ucs-to-school-transformer app
Feature: Implement logrotation of ucs-to-school-transformer app
Status: NEW
Product: UCS
Classification: Unclassified
Component: logrotate
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on: 52504 52503
Blocks:
  Show dependency treegraph
 
Reported: 2020-12-16 09:03 CET by Marc Schwarz
Modified: 2020-12-16 09:11 CET (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schwarz univentionstaff 2020-12-16 09:03:44 CET
In relation to #52495 it should also be possible to configure logrotate for ucs-to-school-transformer 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.

cat ucs-to-school-transformer 
/var/log/univention/listener_modules/ucs-to-school-transformer.log {
        daily
        rotate 14
        create 640 root adm
        compress
        missingok
        notifempty
        postrotate
                univention-app restart ucs-to-school-transformer > /dev/null
        endscript
}