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

RE: I want to turn off support for debug output



> -----Original Message-----
> From: owner-openldap-devel@OpenLDAP.org
> [mailto:owner-openldap-devel@OpenLDAP.org]On Behalf Of Hallvard B Furuseth

> Or maybe some of this should be conditional on LDAP_DEBUG ||
> LDAP_SYSLOG.
> I need to see what the debugging code does to find out.
>
> BTW, Debug() in include/ldap_log.h is defined to do nothing if
> !LDAP_DEBUG, even if LDAP_SYSLOG is defined.  Is that intentional, or
> should it be fixed?

IIRC, LDAP_SYSLOG cannot be defined without LDAP_DEBUG; the variables and
functions it depends on are only present when LDAP_DEBUG is defined.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support