We also first started testing with
pipes to send logs to our logserver. Then we switched to rsyslog
to trasport the logs.
Add the following line near the top of rsyslog.conf:
$ModLoad imfile
Append to the end of rsyslog.conf or into a new file in
/etc/rsyslog.d:
$InputFileName /var/log/dirsrv/slapd-users/access
$InputFileTag 389ds-access
$InputFileStateFile state-389ds-access
$InputFileSeverity info
$InputFileFacility local4
$InputRunFileMonitor
$InputFileName /var/log/dirsrv/slapd-users/errors
$InputFileTag 389ds-errors
$InputFileStateFile state-389ds-errors
$InputFileSeverity info
$InputFileFacility local4
$InputRunFileMonitor
We use the local4 facility as it was the default when we were
using OpenLDAP.
And take into account that all messages will have the same
severity, in this case info.
Regards,
Mitja
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8877, fax: +386 1 479 88 78
On 08/17/2013 01:46 AM, Jeffrey Dunham wrote: