mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
ITS#5392 use lutil_debug for Statslog if HAVE_DEBUG && !HAVE_SYSLOG
This commit is contained in:
parent
a86653c3d9
commit
6a838df274
1 changed files with 1 additions and 1 deletions
|
|
@ -2887,7 +2887,7 @@ struct Connection {
|
|||
#define Statslog( level, fmt, connid, opid, arg1, arg2, arg3 ) \
|
||||
do { \
|
||||
if ( ldap_debug & (level) ) \
|
||||
fprintf( stderr, (fmt), (connid), (opid), (arg1), (arg2), (arg3) );\
|
||||
lutil_debug( ldap_debug, (level), (fmt), (connid), (opid), (arg1), (arg2), (arg3) );\
|
||||
} while (0)
|
||||
#define StatslogTest( level ) (ldap_debug & (level))
|
||||
#endif /* !LDAP_SYSLOG */
|
||||
|
|
|
|||
Loading…
Reference in a new issue