Issue 8123 - Incorrect loglevel man page content
Summary: Incorrect loglevel man page content
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: documentation (show other issues)
Version: 2.4.40
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-01 08:56 UTC by elecharny@openldap.org
Modified: 2017-06-01 22:11 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description elecharny@openldap.org 2015-05-01 08:56:26 UTC
Full_Name: Emmanuel L.charny
Version: 2.4.40
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (80.12.43.27)


The slapd-config man page contains a slightly incorrect explaination for the
olcLogLevel config element. One can read :

olcLogLevel: <integer> [...]
   ...
   The desired log level can be input as ... or as a list of the names that 
   are shown between brackets...

but the sample does not show any bracket being used :

    olcLogLevel: acl trace

Actually, using brackets does not work (you can't inject the attribute using
[acl trace] or {acl trace})

Comment 1 Howard Chu 2015-05-01 09:40:27 UTC
elecharny@apache.org wrote:
> Full_Name: Emmanuel L.charny
> Version: 2.4.40
> OS:
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (80.12.43.27)
>
>
> The slapd-config man page contains a slightly incorrect explaination for the
> olcLogLevel config element. One can read :
>
> olcLogLevel: <integer> [...]
>     ...
>     The desired log level can be input as ... or as a list of the names that
>     are shown between brackets...
>
> but the sample does not show any bracket being used :
>
>      olcLogLevel: acl trace
>
> Actually, using brackets does not work (you can't inject the attribute using
> [acl trace] or {acl trace})

"between brackets" refers to the manpage text itself, it does not mean 
to enter anything with literal brackets.

It probably should be corrected to "between parentheses" since it is 
referring to e.g.

	1      (0x1 trace) trace function calls

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 2 Quanah Gibson-Mount 2017-04-14 19:48:02 UTC
moved from Incoming to Documentation
Comment 3 Quanah Gibson-Mount 2017-04-26 20:06:50 UTC
changed notes
changed state Open to Release
Comment 4 OpenLDAP project 2017-06-01 22:11:43 UTC
Fixed in master
Fixed in RE25
Fixed in RE24 (2.4.5)
Comment 5 Quanah Gibson-Mount 2017-06-01 22:11:43 UTC
changed notes
changed state Release to Closed