diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2010-09-14 10:32:46 -0700 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-09-15 10:29:34 -0700 |
commit | 529b056b2fda91263730da1da8ac9b42b54b72f4 (patch) | |
tree | 32565ec3ea975a9af2617eba667201345af7a631 /ldap/servers/slapd/slapi-plugin.h | |
parent | 20d1e7c8e9280e2175ca843f60a50addc096f134 (diff) | |
download | ds-529b056b2fda91263730da1da8ac9b42b54b72f4.tar.gz ds-529b056b2fda91263730da1da8ac9b42b54b72f4.tar.xz ds-529b056b2fda91263730da1da8ac9b42b54b72f4.zip |
Bug 558099 - Enhancement request: Log more information about the search result being a paged one
https://bugzilla.redhat.com/show_bug.cgi?id=558099
Description: searched entry count is logged in the access log as
(nentries=<num>). When RFC 2696 page results control is passed,
the nentries logs the page size instead of the total searched
count. andrey.ivanov@polytechnique.fr proposed to log the control
info as follows:
[..] conn=# op=#RESULT err=0 tag=101 nentries=# etime=0 notes=P
This patch implemented the spec.
Also, there was a bug regarding unindexed note "notes=U" when
the paged results control is received. Only the first page logs
it, but not the rest. The bug was fixed.
Diffstat (limited to 'ldap/servers/slapd/slapi-plugin.h')
-rw-r--r-- | ldap/servers/slapd/slapi-plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap/servers/slapd/slapi-plugin.h b/ldap/servers/slapd/slapi-plugin.h index 3dd92e0f..893359c9 100644 --- a/ldap/servers/slapd/slapi-plugin.h +++ b/ldap/servers/slapd/slapi-plugin.h @@ -5854,6 +5854,7 @@ typedef struct slapi_plugindesc { /* Extra notes to be logged within access log RESULT lines */ #define SLAPI_OPERATION_NOTES 57 #define SLAPI_OP_NOTE_UNINDEXED 0x01 +#define SLAPI_OP_NOTE_SIMPLEPAGED 0x02 /* Allows controls to be passed before operation object is created */ #define SLAPI_CONTROLS_ARG 58 |