[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Logging without syslogd?
- To: OpenLDAP Software <openldap-software@OpenLDAP.org>
- Subject: Re: Logging without syslogd?
- From: Stefan Paletta <sp-openldap-software@WRonline.de>
- Date: Thu, 4 May 2000 23:20:49 +0200
- In-reply-to: <390BFBA7.1171E1BF@ds.fh-koeln.de>; from marian@ds.fh-koeln.de on Sun, Apr 30, 2000 at 11:23:51AM +0200
- Organisation: Datenautobahnraststaette Wernigerode
- References: <390BFBA7.1171E1BF@ds.fh-koeln.de>
Marian Steinbach wrote/schrieb/scribsit:
> I would like to log all OpenLDAP activity to a dedicated
> logfile, not to syslogd. How could this be done easily?
That's not a problem at all. I'm using daemontools
(http://cr.yp.to/daemontools.html) to run slapd under and invoke slapd
with "-s 0 -d 256". The daemontools can the send slapd's output into
a multilog program that writes into a directory of automatically
rotated logs of a fixed size.
Plus, daemontools enable reliable operation of the service,
automatically restarting it if it exits, control of the service
sending signals and obtaining status of the supervised service.
# svstat /service/slapd/
/service/slapd/: up (pid 16384) 3026225 seconds
Stefan