From: Debian OpenLDAP Maintainers Date: Fri, 2 Dec 2016 03:40:20 +0000 (+0000) Subject: slapi-errorlog-file X-Git-Tag: archive/raspbian/2.4.46+dfsg-5+rpi1~1^2~23 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7d770569d83a3daa0faecfd56ee1db39151e26f9;p=openldap.git slapi-errorlog-file The slapi error log file defaults to /var/errors given our setting of --localstatedir. Move it to /var/log/slapi-errors instead. Debian-specific. Gbp-Pq: Name slapi-errorlog-file --- diff --git a/servers/slapd/slapi/slapi_overlay.c b/servers/slapd/slapi/slapi_overlay.c index 69aa6f2d..46398829 100644 --- a/servers/slapd/slapi/slapi_overlay.c +++ b/servers/slapd/slapi/slapi_overlay.c @@ -930,7 +930,7 @@ int slapi_over_config( BackendDB *be, ConfigReply *cr ) ldap_pvt_thread_mutex_init( &slapi_printmessage_mutex ); if ( slapi_log_file == NULL ) - slapi_log_file = slapi_ch_strdup( LDAP_RUNDIR LDAP_DIRSEP "errors" ); + slapi_log_file = slapi_ch_strdup( LDAP_RUNDIR LDAP_DIRSEP "log" LDAP_DIRSEP "slapi-errors" ); rc = slapi_int_init_object_extensions(); if ( rc != 0 )