Hm ok.

Ok, and to do that I use the ldapmodify command ?

Something like :
ldapmodify -x -D "cn=Directory Manager" -w <mdp password manager> -h <FQDN hosting server> -p 389

dn:cn=config
changetype:modify
replace:nsslapd-accesslog
nsslapd-accesslog:<MYPATH>

dn:cn=config
changetype:modify
replace:nsslapd-errorlog
nsslapd-errorlog:<MYPATH>


And then two ctrl+D to close the CLI ?

 

Best regards.


Bahan





On Thu, Aug 20, 2015 at 3:49 PM, Jochen Schneider <scne59@gmail.com> wrote:
On 20/08/15 13:53, bahan w wrote:
> Hello !
>
> I installed recently FreeIPA 3.0.0-47 and I have a question related to
> the logging dir used.
> We know that the logs are stored in /var/log/dirsrv folder but we would
> like to move this elsewhere ?
>
> Do you know if it is possible ?

It is.

Set "nsslapd-accesslog" and "nsslapd-errorlog" under "cn=config"
accordingly.

see:
https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/10/html/Configuration_Command_and_File_Reference/Core_Server_Configuration_Reference.html#cnconfig-nsslapd_accesslog_Access_Log

 J.


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users