Bug 49430 - Improve log messages of univention-translog prune command
Improve log messages of univention-translog prune command
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Notifier (univention-directory-notifier)
UCS 4.4
Other Linux
: P5 major (vote)
: UCS 5.0-0-errata
Assigned To: Arvid Requate
Philipp Hahn
:
Depends on: 48729
Blocks:
  Show dependency treegraph
 
Reported: 2019-05-08 12:37 CEST by Arvid Requate
Modified: 2021-08-25 17:52 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.023
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
suggestion.diff (2.11 KB, patch)
2019-05-08 12:37 CEST, Arvid Requate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2019-05-08 12:37:15 CEST
Created attachment 10010 [details]
suggestion.diff

Some help and log messages of the univention-translog prune command could be improved:

* Explain the interpretation of negative numbers for the tid to prune
* Number of last index entry off by one
* Output number of transaction entries
* Adjust log level of non-critical messages to info



+++ This bug was initially created as a clone of Bug #48729 +++

We should have a tool to remove entries from cn=translog with an id that is lower than a specified value (or maybe something like "keep only the last X entries").
Comment 1 Arvid Requate univentionstaff 2021-08-04 11:41:08 CEST
d6c54e03c9 | Improve log messages of univention-translog
48fed2ea35 | Advisory

Package: univention-directory-notifier
Version: 14.0.5-2A~5.0.0.202108041138
Branch: ucs_5.0-0
Scope: errata5.0-0
Comment 2 Philipp Hahn univentionstaff 2021-08-20 17:38:03 CEST
OK: Code change
FIXED:

[5.0-0] c3c7a9abbf Bug #51911: univention-directory-notifier 14.0.5-2A~5.0.0.202108041138
 doc/errata/staging/univention-directory-notifer.yaml | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
[5.0-0] b13e8ebaa4 Bug #51911: univention-directory-notifier 14.0.5-2A~5.0.0.202108041138
 doc/errata/staging/{univention-directory-notifer.yaml => univention-directory-notifier.yaml} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
Comment 3 Philipp Hahn univentionstaff 2021-08-25 17:52:59 CEST
<https://errata.software-univention.de/#/?erratum=5.0x74>