[syslog-ng] Newbie

David Anderson dma at pern.co.uk
Sun Feb 12 12:36:46 CET 2006


Adrian,

Saturday, February 11, 2006, 10:17:32 PM, you wrote:


> #######################################################################

> Hi David,

> I'm still none the wiser. I have hashed out the three lines which start
> source inputs:

>> # source inputs { internal();
>> #               sun-streams("/dev/log" door("/var/run/syslog_door"));
>> #               tcp(max_connections(1000)); };

> As it suggests that this is for Solaris systems only, and Redhat should use
> the following line:

>> # For newer versions of Linux (Debian GNU/Linux woody,
>> # and RedHat Linux post 7.0)
>> #
>> source stdlog { unix-dgram("/dev/log"); };


> Which I un-hashed. Where would I places the inputs and what would they look
> like??

> Any help very much appreciated.

> Kind regards,

> Adrian.

If you notice, in the lines you comment out for the Solaris only,
the name of the source is "inputs", whereas for the newer versions
of Linux which you uncommented the name of the source is "stdlog"
which you would use in your log statements.

-- 
Best regards,
 David                            mailto:dma at pern.co.uk




More information about the syslog-ng mailing list