Univention Bugzilla – Bug 51920
Many unnesessary "UNIVENTION_DEBUG_BEGIN : uldap.searchDn" messages in log files
Last modified: 2022-05-31 12:28:06 CEST
I just saw this again with the office365 connector, the listener.log is spammed with: =============================================================================== UNIVENTION_DEBUG_BEGIN : uldap.searchDn filter=(&(cn=*)(|(objectClass=posixGroup)(objectClass=sambaGroupMapping))(gidNumber=5158)) base= scope=sub unique=0 required=0 UNIVENTION_DEBUG_END : uldap.searchDn filter=(&(cn=*)(|(objectClass=posixGroup)(objectClass=sambaGroupMapping))(gidNumber=5158)) base= scope=sub unique=0 required=0 UNIVENTION_DEBUG_BEGIN : uldap.searchDn filter=(&(cn=*)(|(objectClass=univentionGroup)(objectClass=sambaGroupMapping))(uniqueMember=uid=foobar1,cn=schueler,cn=users,ou=foo 5791,dc=domain,dc=net)) base= scope=sub unique=0 required=0 UNIVENTION_DEBUG_END : uldap.searchDn filter=(&(cn=*)(|(objectClass=univentionGroup)(objectClass=sambaGroupMapping))(uniqueMember=uid=foobar1,cn=schueler,cn=users,ou=foo 5791,dc=domain,dc=net)) base= scope=sub unique=0 required=0 UNIVENTION_DEBUG_BEGIN : uldap.searchDn filter=(&(cn=*)(|(objectClass=posixGroup)(objectClass=sambaGroupMapping))(gidNumber=5158)) base= scope=sub unique=0 required=0 UNIVENTION_DEBUG_END : uldap.searchDn filter=(&(cn=*)(|(objectClass=posixGroup)(objectClass=sambaGroupMapping))(gidNumber=5158)) base= scope=sub unique=0 required=0 UNIVENTION_DEBUG_BEGIN : uldap.searchDn filter=(&(cn=*)(|(objectClass=univentionGroup)(objectClass=sambaGroupMapping))(uniqueMember=uid=foobar2,cn=schueler,cn=users,ou=foo 5791,dc=domain,dc=net)) base= scope=sub unique=0 required=0 UNIVENTION_DEBUG_END : uldap.searchDn filter=(&(cn=*)(|(objectClass=univentionGroup)(objectClass=sambaGroupMapping))(uniqueMember=uid=foobar2,cn=schueler,cn=users,ou=foo 5791,dc=domain,dc=net)) base= scope=sub unique=0 required=0 UNIVENTION_DEBUG_BEGIN : uldap.searchDn filter=(&(cn=*)(|(objectClass=posixGroup)(objectClass=sambaGroupMapping))(gidNumber=5158)) base= scope=sub unique=0 required=0 UNIVENTION_DEBUG_END : uldap.searchDn filter=(&(cn=*)(|(objectClass=posixGroup)(objectClass=sambaGroupMapping))(gidNumber=5158)) base= scope=sub unique=0 required=0 =============================================================================== The origin of this debug message goes back to CVS times. +++ This bug was initially created as a clone of Bug #26218 +++ An Ticket #2012022221001026 ist aufgefallen, dass in den Standard Debugleveln in UCS 3.0 sehr viele unnötige Informationen aus dem UDM-Modul gelogged werden. Kurzer Auszug aus der /var/log/univention/management-console-module-udm.log: UNIVENTION_DEBUG_BEGIN : admin.handlers.base.__getitem__ key = name UNIVENTION_DEBUG_END : admin.handlers.base.__getitem__ key = name UNIVENTION_DEBUG_BEGIN : admin.handlers.base.__getitem__ key = name UNIVENTION_DEBUG_END : admin.handlers.base.__getitem__ key = name UNIVENTION_DEBUG_BEGIN : admin.handlers.base.__getitem__ key = dnsEntryZoneReverse UNIVENTION_DEBUG_END : admin.handlers.base.__getitem__ key = dnsEntryZoneReverse UNIVENTION_DEBUG_BEGIN : admin.handlers.base.__getitem__ key = dnsEntryZoneReverse UNIVENTION_DEBUG_END : admin.handlers.base.__getitem__ key = dnsEntryZoneReverse UNIVENTION_DEBUG_BEGIN : admin.handlers.base.__getitem__ key = dnsEntryZoneReverse UNIVENTION_DEBUG_END : admin.handlers.base.__getitem__ key = dnsEntryZoneReverse UNIVENTION_DEBUG_BEGIN : admin.handlers.base.__getitem__ key = name UNIVENTION_DEBUG_END : admin.handlers.base.__getitem__ key = name UNIVENTION_DEBUG_BEGIN : admin.handlers.base.__getitem__ key = name UNIVENTION_DEBUG_END : admin.handlers.base.__getitem__ key = name UNIVENTION_DEBUG_BEGIN : admin.handlers.base.__getitem__ key = dnsEntryZoneAlias UNIVENTION_DEBUG_END : admin.handlers.base.__getitem__ key = dnsEntryZoneAlias Man könnte hier evt. einmal prüfen, inwieweit diese Meldungen notwendig sind, oder durch ein alternatives Debuglevel unterdrückt werden können.
Created a UCS 5.0-1 branch in which the log level for most uldap output is raised from "info" to "debug": dtroeder/51920_raise_log_level
(In reply to Daniel Tröder from comment #2) > Created a UCS 5.0-1 branch in which the log level for most uldap output is > raised from "info" to "debug": dtroeder/51920_raise_log_level hmm. this is different to what is wanted in the initial bug description. The bug description complains about DEBUG_BEGIN7DEBUG_END univention.debug.function log messages which have been removed in UCS 5.0 already. Your changes change the log level for some relevant lines from INFO (3) to ALL (4) which I find not so good. I would close this bug as WORKSFORME. ok?
Ah yes, I'll create a separate bug.
How is this wokrsforme? Not for me, the reporter and the three attached tickets.
(In reply to Arvid Requate from comment #5) > How is this wokrsforme? Not for me, the reporter and the three attached > tickets. Because the code logging this noise has been removed in Bug #51200 git:43faea5db048784c84e45079a7eed08144fe5006.
*** This bug has been marked as a duplicate of bug 51200 ***
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".