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

Re: howto distribute logs in multiple files



Thanks Dieter,

> man slapd(8) on logging

a faster way is to run slapd -d?

my problem is not to log, my problem is to
distribute logs in different files.

---
Olivier


On Wed, Oct 12, 2011 at 11:56 AM, Dieter Klünter <dieter@dkluenter.de> wrote:
> Am Wed, 12 Oct 2011 11:01:56 +0200
> schrieb Olivier <ldap@guillard.nom.fr>:
>
>> Hi,
>>
>> is there a way to distribute various openldap loglevels in different
>> files ?
>>
>> Let say, I want ACL Stats and Sync
>>
>> so I add:
>> olcLogLevel: sync stats ACL
>>
>> Is there any way to distribute logs into files :
>> /var/log/ldap/ldap-sync
>> /var/log/ldap/ldap-stats
>> /var/log/ldap/ldap-ACL
>
> as default slapd logs to syslog local4, see man slapd(8) on logging
> facilities.
>
> -Dieter
>
> --
> Dieter Klünter | Systemberatung
> http://dkluenter.de
> GPG Key ID:DA147B05
> 53°37'09,95"N
> 10°08'02,42"E
>
>