[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Docs: admin guide describes log levels inconsistently (ITS#5904)

--On Thursday, February 05, 2009 11:41 AM +0000 ghenry@OpenLDAP.org wrote:

> Awww, aren't we nice! ;-)
> Patch applied,

The new patch is definitely an improvement, however it fails to document 
the hexadecimal notation for log levels, which is also perfectly valid. 
See slapd.conf(5):

		     1	    (0x1 trace) trace function calls
		     2	    (0x2 packets) debug packet handling
		     4	    (0x4 args) heavy trace debugging (function args)

and the description therein:

	      The desired log level can be input  as  a  single  integer  that
	      combines	the  (ORed)  desired  levels,  both  in  decimal or in
	      hexadecimal notation, as a  list	of  integers  (that  are  ORed
	      internally),  or	as  a list of the names that are shown between
	      brackets, such that

		  loglevel 129
		  loglevel 0x81
		  loglevel 128 1
		  loglevel 0x80 0x1
		  loglevel acl trace

	      are equivalent.


Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration