RE: [syslog-ng]Problem with syslog-ng on OpenBSD 3.5 Sparc64
Here is a copy of my conf file. I also noted today that if I start the daemon by hand the error did not show up. The connection is mad to a port on localhost which is then forwarded to the main log server via stunnel. This same config works with OpenBSD 3.4 Sparc 64. options { keep_hostname(yes); sync(0); log_fifo_size(1024); stats(36000); }; source localhost { unix-dgram("/dev/log"); internal(); }; destination localhost@chrome { file("/var/log/syslog-ng.all"); }; destination loghost@phantom { tcp("localhost" port(5141)); }; filter f_no_stats { not match("STATS: dropped 0"); }; # (src + dst [+ filters] = logging) log { source(localhost); filter(f_no_stats); destination(localhost@chrome); source(localhost); filter(f_no_stats); destination(loghost@phantom); }; Its very simple no bells and whistles. --- 30 July 2004 "I fought the Dharma, and the Dharma won." (Allen Ginsberg) --- Robert V. Coward UNIX System Administrator Computer Science Corporation
participants (1)
-
Coward, Robert (Contractor)