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
Thanks,
--- Olivier
On 12 okt. 2011, at 11:01, Olivier wrote:
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
Syslog-ng can do that. Don't know about plain good-old syslog, though.
Hi Peter,
Syslog-ng can do that. Don't know about plain good-old syslog, though.
new plateforms now use rsyslog, and after a little investigation, it sounds like rsyslog implements filtering abilities.
See here for comparision between rsyslog and syslog-ng : http://www.rsyslog.com/doc/rsyslog_ng_comparison.html
I'm gone to look at that more deeply, anyway, it sounds that it's not an openldap issue ...
Thanks for your help.
--- Olivier
On Wed, Oct 12, 2011 at 11:19 AM, Peter Boosten peter@boosten.org wrote:
On 12 okt. 2011, at 11:01, Olivier wrote:
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
Syslog-ng can do that. Don't know about plain good-old syslog, though.
Peter Boosten http://www.boosten.org
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
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
Am Wed, 12 Oct 2011 12:36:28 +0200 schrieb Olivier ldap@guillard.nom.fr:
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.
did you really read man slapd(8), in particular the -s and -l options? you may configure syslog according to your needs.
-Dieter
openldap-technical@openldap.org