Bug 52501 - Feature: Implement and document logrotation of ucsschool-id-connector
Feature: Implement and document logrotation of ucsschool-id-connector
Status: VERIFIED DUPLICATE of bug 52503
Product: UCS@school
Classification: Unclassified
Component: ucsschool-id-connector
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on: 52504 52503
Blocks: 55983
  Show dependency treegraph
 
Reported: 2020-12-16 08:32 CET by Marc Schwarz
Modified: 2023-04-18 15:50 CEST (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): Design
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 08:32:24 CET
In relation to #52495 it should also be possible to configure logrotate for ucsschool-id-connector 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 /etc/logrotate.d/ucsschool-id-connector 
/var/log/univention/listener_modules/ucsschool-id-connector.log
/var/log/univention/ucsschool-id-connector/http.log
/var/log/univention/ucsschool-id-connector/queues.log {
        daily
        rotate 14
        create 640 root adm
        compress
        missingok
        notifempty
        postrotate
                univention-app restart ucsschool-id-connector > /dev/null
        endscript
}
Comment 1 Marc Schwarz univentionstaff 2020-12-16 08:36:43 CET
*Edit: In relation to #52495 it should also be possible to configure logrotate for ucsschool-id-connector via the respective logrotate UCRs as the log increases significant in larger environments
Comment 2 Daniel Tröder univentionstaff 2020-12-16 09:00:13 CET
This should be fixed in Bug 52503 and Bug 52504.

*** This bug has been marked as a duplicate of bug 52503 ***