[syslog-ng]couple of questions about configs

Deja User mdhstn@my-deja.com
Thu, 30 Nov 2000 16:41:39 -0800


Hi All,

I'm running ver 1.4.9a and I'm need of some assistance on the configs, I'm going to be using syslog to receive remote messages from approximately 60+ routers. the problem I'm having is that I cant seem to set up syslog-ng to run in real time. By doing an strace I do see that I'm receiving the message but syslog appears to hold them and dump multiple messages at one time, I've enabled sync(0) but that doesn't seem to help. 

Second is that when syslog-ng does write to the file it removes the carriage returns at the end of the lines, thus making it difficult to read. Below is a copy of my test config, any suggestions would be appreciated.

Aaron

options { sync(0); use_dns(NO); create_dirs(yes); };

source UDP { udp(); };

destination ATLSSR1 { file("logs/ATLSSR1.html"); };
destination Default { file("logs/default.html"); };

filter ATLSSR1 { host(10.192.224.1); };

log { source(UDP); filter(ATLSSR1); destination (ATLSSR1); };
log { source(UDP); filter(DEFAULT); destination(Default); };




------------------------------------------------------------
--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.