Bug 50346 - Get rid of UDM debug spam
Get rid of UDM debug spam
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-10-10 19:00 CEST by Florian Best
Modified: 2023-06-20 20:50 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
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): bitesize
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2019-10-10 19:00:01 CEST
There is a lof of unnecessary UDM debug output with LEVEL=INFO when creating an user (or initializing it's extended attributes).

We should get rid of it and log only necessary information, so that the log output is readable for developers.

SPAM:
10.10.19 05:58:38.098  ADMIN       ( INFO    ) : layout overwrite
10.10.19 05:58:38.098  ADMIN       ( INFO    ) : layout overwrite: tab_layout='None'
10.10.19 05:58:38.098  ADMIN       ( INFO    ) : layout overwrite: tab_name='None'
10.10.19 05:58:38.098  ADMIN       ( INFO    ) : layout overwrite: tab_descr='None'
10.10.19 05:58:38.098  ADMIN       ( INFO    ) : ucr_overwrite_module_layout: trying to hide properties on tab General
10.10.19 05:58:38.099  ADMIN       ( INFO    ) : layout overwrite: tab_layout='None'
10.10.19 05:58:38.099  ADMIN       ( INFO    ) : layout overwrite: tab_name='None'
10.10.19 05:58:38.099  ADMIN       ( INFO    ) : layout overwrite: tab_descr='None'
10.10.19 05:58:38.099  ADMIN       ( INFO    ) : ucr_overwrite_module_layout: trying to hide properties on tab Groups
10.10.19 05:58:38.100  ADMIN       ( INFO    ) : layout overwrite: tab_layout='None'
10.10.19 05:58:38.100  ADMIN       ( INFO    ) : layout overwrite: tab_name='None'
10.10.19 05:58:38.100  ADMIN       ( INFO    ) : layout overwrite: tab_descr='None'
10.10.19 05:58:38.100  ADMIN       ( INFO    ) : ucr_overwrite_module_layout: trying to hide properties on tab Account
10.10.19 05:58:38.100  ADMIN       ( INFO    ) : layout overwrite: tab_layout='None'
10.10.19 05:58:38.100  ADMIN       ( INFO    ) : layout overwrite: tab_name='None'
10.10.19 05:58:38.100  ADMIN       ( INFO    ) : layout overwrite: tab_descr='None'
10.10.19 05:58:38.101  ADMIN       ( INFO    ) : ucr_overwrite_module_layout: trying to hide properties on tab Contact
10.10.19 05:58:38.101  ADMIN       ( INFO    ) : layout overwrite: tab_layout='None'
10.10.19 05:58:38.101  ADMIN       ( INFO    ) : layout overwrite: tab_name='None'
10.10.19 05:58:38.101  ADMIN       ( INFO    ) : layout overwrite: tab_descr='None'
10.10.19 05:58:38.101  ADMIN       ( INFO    ) : ucr_overwrite_module_layout: trying to hide properties on tab Apps
10.10.19 05:58:38.102  ADMIN       ( INFO    ) : layout overwrite: tab_layout='None'
10.10.19 05:58:38.102  ADMIN       ( INFO    ) : layout overwrite: tab_name='None'
10.10.19 05:58:38.102  ADMIN       ( INFO    ) : layout overwrite: tab_descr='None'
10.10.19 05:58:38.102  ADMIN       ( INFO    ) : ucr_overwrite_module_layout: trying to hide properties on tab Certificate
10.10.19 05:58:38.102  ADMIN       ( INFO    ) : layout overwrite: tab_layout='None'
10.10.19 05:58:38.102  ADMIN       ( INFO    ) : layout overwrite: tab_name='None'
10.10.19 05:58:38.103  ADMIN       ( INFO    ) : layout overwrite: tab_descr='None'
10.10.19 05:58:38.103  ADMIN       ( INFO    ) : ucr_overwrite_module_layout: trying to hide properties on tab Mail
10.10.19 05:58:38.103  ADMIN       ( INFO    ) : layout overwrite: tab_layout='None'
10.10.19 05:58:38.103  ADMIN       ( INFO    ) : layout overwrite: tab_name='None'
10.10.19 05:58:38.103  ADMIN       ( INFO    ) : layout overwrite: tab_descr='None'
Comment 1 Florian Best univentionstaff 2019-10-10 19:03:34 CEST
Another unreadable thing:
10.10.19 05:58:38.175  ADMIN       ( INFO    ) : update_extended_attributes: extended attribute (LDAP): {'cn': ['serviceprovider'], 'objectClass': ['top', 'univentionUDMProperty', 'univentionObject'], 'univentionUDMPropertyModule': ['settings/usertemplate', 'users/user'],
'univentionUDMPropertyLayoutTabName': ['Account'], 'univentionUDMPropertyTranslationLongDescription;entry-de-de': ['Zulassen des Benutzer f\xc3\xbcr die angegebenen Service Provider'], 'univentionUDMPropertyVersion': ['2'], 'univentionUDMPropertyLdapMapping': ['enabledServiceProviderIdentifier'], 'univentionUDMPropertyObjectClass': ['univentionSAMLEnabled'], 'univentionUDMPropertyLayoutGroupName': ['SAML settings'], 'univentionUDMPropertyLayoutTabAdvanced': ['0'], 'univentionUDMPropertyValueNotEditable': ['0'], 'univentionUDMPropertyTranslationGroupName;entry-de-de': ['SAML Einstellungen'], 'univentionUDMPropertyTranslationShortDescription;entry-de-de': ['Benutzer f\xc3\xbcr folgende Service Provider freischalten'], 'univentionUDMPropertySyntax': ['samlserviceprovider'], 'univentionUDMPropertyLayoutPosition': ['4'], 'univentionUDMPropertyMultivalue': ['1'], 'univentionUDMPropertyValueMayChange': ['1'], 'univentionUDMPropertyShortDescription': ['Enable user for the following service providers'], 'univentionObjectType': ['settings/extended_attribute'], 'univentionUDMPropertyLongDescription': ['Enable user to use the specified service providers'], 'univentionUDMPropertyTranslationTabName;entry-de-de': ['Konto'], 'univentionUDMPropertyCLIName': ['serviceprovider']
Comment 2 Florian Best univentionstaff 2023-06-20 20:50:24 CEST
we should just change the log from INFO(3) to ALL/DEBUG(4).