Univention Bugzilla – Full Text Bug Listing |
Summary: | Separate Dovecot logs from Postfix logs | ||
---|---|---|---|
Product: | UCS | Reporter: | Daniel Tröder <troeder> |
Component: | Mail - Dovecot | Assignee: | Daniel Tröder <troeder> |
Status: | CLOSED FIXED | QA Contact: | Sönke Schwardt-Krummrich <schwardt> |
Severity: | normal | ||
Priority: | P5 | CC: | birkefeld, schwardt, walkenhorst |
Version: | UCS 4.0 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: |
https://forge.univention.org/bugzilla/show_bug.cgi?id=38328 https://forge.univention.org/bugzilla/show_bug.cgi?id=38525 |
||
What kind of report is it?: | --- | 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: | |||
Bug Depends on: | |||
Bug Blocks: | 34839 |
Description
Daniel Tröder
2015-05-06 20:01:07 CEST
Commits 60681 + 60682. Log settings for Dovecot are now very configurable with a low-noise default. Logging is done by default through (r)syslog. The Logrotate needs to be configured still → Bug #38525. Commit 61318 adds a UCRV mail/dovecot/logging/ldap_debug_level to change the LDAP library debug level. /etc/univention/templates/files/etc/logrotate.d/dovecot → via "if os.path.isfile(log_path)" is checked if the target log file exists → if the file does not exist (yet), no logrotation is performed until the UCR variable is set again (or a ucr commit is executed). → REOPEN Despite that, the logging into a custom logfile works as expected: # ucr set mail/dovecot/logging/log_path=/var/log/dovecot.self # invoke-rc.d dovecot restart # ls -la /var/log/dovecot.self -rw------- 1 root root 25471 Jul 3 12:46 /var/log/dovecot.self → OK Logrotation → OK Changing UCR variables to enable debug → OK (In reply to Sönke Schwardt-Krummrich from comment #3) > /etc/univention/templates/files/etc/logrotate.d/dovecot > → via "if os.path.isfile(log_path)" is checked if the target log file exists > → if the file does not exist (yet), no logrotation is performed until the > UCR > variable is set again (or a ucr commit is executed). > → REOPEN Fixed via 38525 → back to VERIFIED |