diff options
| author | Pavel Březina <pbrezina@redhat.com> | 2016-11-24 13:12:17 +0100 |
|---|---|---|
| committer | Lukas Slebodnik <lslebodn@redhat.com> | 2016-12-19 23:24:18 +0100 |
| commit | 817e3ec31bbdb5447f4ffcd3302c558283b90943 (patch) | |
| tree | de331c37739dfea35422e7464a794a756d4dacf0 /src/python | |
| parent | 8f895983e8d24b3edde4f695621f6b9a2fd20923 (diff) | |
| download | sssd-817e3ec31bbdb5447f4ffcd3302c558283b90943.tar.gz sssd-817e3ec31bbdb5447f4ffcd3302c558283b90943.tar.xz sssd-817e3ec31bbdb5447f4ffcd3302c558283b90943.zip | |
cache_req: improve debugging
The original debugging was unnecessarily large. I removed request name
from all debug messages (keeping the request number). The name is now
print only when a new request is created. I also added an explicit message
to see what object are we currently looking up.
For example:
[cache_req_set_plugin] (0x2000): CR #4: Setting "Group by ID" plugin
[cache_req_send] (0x0400): CR #4: New request 'Group by ID'
[cache_req_select_domains] (0x0400): CR #4: Performing a multi-domain search
[cache_req_set_domain] (0x0400): CR #4: Using domain [LDAP.PB]
[cache_req_search_send] (0x0400): CR #4: Looking up GID:20001@LDAP.PB
[cache_req_search_ncache] (0x0400): CR #4: Checking negative cache for [GID:20001@LDAP.PB]
[cache_req_search_ncache] (0x0400): CR #4: [GID:20001@LDAP.PB] is not present in negative cache
[cache_req_search_cache] (0x0400): CR #4: Looking up [GID:20001@LDAP.PB] in cache
[cache_req_search_send] (0x0400): CR #4: Returning [GID:20001@LDAP.PB] from cache
[cache_req_create_and_add_result] (0x0400): CR #4: Found 1 entries in domain LDAP.PB
[cache_req_done] (0x0400): CR #4: Finished: Success
Resolves:
https://fedorahosted.org/sssd/ticket/3151
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/python')
0 files changed, 0 insertions, 0 deletions
