Re: Logging to syslog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
We've been playing around with the named pipe log script.  You could use something like that to pass the logs to a syslog server.
http://directory.fedoraproject.org/wiki/Named_Pipe_Log_Script

-Jeff


On Fri, Aug 16, 2013 at 4:07 PM, Tom Tucker <tktucker@xxxxxxxxx> wrote:
Is it possible to write 389 DS access, error and audit logs to a downstream syslog server ($syslog_server:514) ? I did some poking around in the UI and I can't seem to find anything like this.

Thanks in advance,

Tom

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



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

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

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux