From: Debian OpenLDAP Maintainers Date: Fri, 26 Apr 2024 23:09:29 +0000 (-0700) Subject: slapi-errorlog-file X-Git-Tag: archive/raspbian/2.5.17+dfsg-1+rpi1^2~15 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a56fe446a5bec7900912afb634974e4de479b794;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 b01793b9..02db4ad9 100644 --- a/servers/slapd/slapi/slapi_overlay.c +++ b/servers/slapd/slapi/slapi_overlay.c @@ -933,7 +933,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 )