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

--disable-debug breaks syslog (ITS#2989)



Full_Name: Adriano Nagelschmidt Rodrigues
Version: 2.2.6
OS: Debian/Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (200.155.200.21)


The Statslog macro is defined in the file servers/slapd/slap.h, but 
the sorrounding tests are:

  #if defined(LDAP_SYSLOG) && defined(LDAP_DEBUG)
  #elif defined(LDAP_DEBUG)
  #else
  #endif

I configured with '--disable-debug' and got a null Statslog
macro. There should also be a test (and macro definition) for

  #elif defined(LDAP_SYSLOG)