On Sat, 27 Feb 2010, lanas wrote:

> Hello,
>
>  First, thanks to David for the reply on time stamps.
>
>  I have a question about perhaps being able to replace syslogd by
> rsyslog in a so-called 'drop-in' way.  Eg.  will rsyslog work (I
> reckon with limited possibilities) with a standard syslog config
> file ?  That would enable a basic set of functionality as a first step
> toward using rsyslog's features.

no, rsyslog will do nothing if you just feed it a syslog.conf file. 
rsyslog needs a few additional instructions at the top of the file to load 
the modules, but below that you can paste in the syslog.conf file.

another thing that you can do is to make a generic rsyslog.conf file that 
includes the syslog.conf after the rsyslog specific headers.

My rsyslog.conf (on my ubuntu 9.10 laptop) has

$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog   # provides kernel logging support (previously done by rklogd)
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
$FileOwner syslog
$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
$Umask 0022
$PrivDropToUser syslog
$PrivDropToGroup syslog
$RepeatedMsgReduction on
$RepeatedMsgContainsOriginalMsg on

David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to