Bug 31421 - univention-debug NO_FLUSH leads to (temporary) missing log lines
univention-debug NO_FLUSH leads to (temporary) missing log lines
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.1
All Linux
: P5 minor (vote)
: UCS 3.1-1-errata
Assigned To: Jascha Geerds
Alexander Kläser
:
Depends on: 29603
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-22 21:57 CEST by Sönke Schwardt-Krummrich
Modified: 2013-06-13 14:39 CEST (History)
7 users (show)

See Also:
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): Cleanup, Troubleshooting
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2013-05-22 21:57:21 CEST
> Wie von Alex vorgeschlagen wurde "ud.FLUSH" und "ud.FUNCTION" durch
> "ud.NO_FLUSH" und "ud.NO_FUNCTION" ersetzt. UNIVENTION_DEBUG_{BEGIN, END}
> Informationen werden nicht mehr gelogt.

Setting ud.NO_FLUSH is rather "sub-optimal" since the log messages now get only flushed if the internal buffer is full. This results in half or missing lines in the logfile.
This should be switched back to ud.FLUSH.

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

In /var/log/univention/management-console-module-udm.log stehen massenhaft
Meldungen der Art
  UNIVENTION_DEBUG_BEGIN : admin.handlers.base.__getitem__ key = network
  UNIVENTION_DEBUG_END   : admin.handlers.base.__getitem__ key = network
  UNIVENTION_DEBUG_BEGIN : admin.handlers.base.__getitem__ key = name
  UNIVENTION_DEBUG_END   : admin.handlers.base.__getitem__ key = name
  ... domain ... primaryGroup ... unixhome ... primaryGroup ... name ... ip ...
dnsEntryZoneForward ... ip ... mac
  ... admin.handlers.simpleLdap._update_policies
  ... uldap.getPolicies
  ... uldap.parentDn
  ... uldap.getAttr

Ich finde diese Meldungen nicht hilfreich und sie verdecken wichtige Meldungen
eher durch ihr Rauschen. IMHO sollten sie nicht standardmäßig geloggt werden.
Comment 1 Jascha Geerds univentionstaff 2013-05-29 10:50:11 CEST
Switched back to ud.FLUSH.

- ucs3.1-1 & YAML:
univention-management-console (5.0.62-4)

- ucs3.1-2 & changelog:
univention-management-console (5.0.65-1)
Comment 2 Alexander Kläser univentionstaff 2013-06-08 16:23:22 CEST
UCS 3.2
  changes → OK
  changelog → OK
UCS 3.1-1 Errata
  changes → OK
  YAML file → OK
  test → OK
Comment 3 Janek Walkenhorst univentionstaff 2013-06-13 14:39:47 CEST
http://errata.univention.de/ucs/3.1/128.html