Univention Bugzilla – Attachment 10632 Details for
Bug 51721
missing logrotation for directory-manager-rest.log
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch (git:fbest/51721-udm-rest-logrotate)
51721.patch (text/plain), 1.59 KB, created by
Florian Best
on 2021-03-08 20:58:39 CET
(
hide
)
Description:
patch (git:fbest/51721-udm-rest-logrotate)
Filename:
MIME Type:
Creator:
Florian Best
Created:
2021-03-08 20:58:39 CET
Size:
1.59 KB
patch
obsolete
>commit 7cc5e247e2a91b89866177b29b1e2a1b7034da1b >Author: Florian Best <best@univention.de> >Date: Mon Mar 8 20:57:27 2021 +0100 > > Bug #51721: add logrotation > >diff --git management/univention-directory-manager-rest/conffiles/etc/logrotate.d/univention-directory-manager-rest management/univention-directory-manager-rest/conffiles/etc/logrotate.d/univention-directory-manager-rest >new file mode 100644 >index 0000000000..2962abffcb >--- /dev/null >+++ management/univention-directory-manager-rest/conffiles/etc/logrotate.d/univention-directory-manager-rest >@@ -0,0 +1,12 @@ >+@%@UCRWARNING=# @%@ >+ >+@!@ >+import univention.lib.ucrLogrotate >+ >+name = "directory-manager-rest" >+settings = univention.lib.ucrLogrotate.getLogrotateConfig(name, configRegistry) >+print("/var/log/univention/directory-manager-rest.log {") >+for setting in sorted(settings): >+ print("\t%s" % settings[setting]) >+print("}") >+@!@ >diff --git management/univention-directory-manager-rest/debian/univention-directory-manager-rest.univention-config-registry management/univention-directory-manager-rest/debian/univention-directory-manager-rest.univention-config-registry >index b566c2f943..e4052a9b5f 100644 >--- management/univention-directory-manager-rest/debian/univention-directory-manager-rest.univention-config-registry >+++ management/univention-directory-manager-rest/debian/univention-directory-manager-rest.univention-config-registry >@@ -1,3 +1,7 @@ > Type: file > File: etc/apache2/sites-available/univention-udm.conf > Variables: directory/manager/rest/server/port >+ >+Type: file >+File: etc/logrotate.d/univention-directory-manager >+Variables: logrotate/.*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 51721
: 10632