[syslog-ng] configuration problem?

Balazs Scheidler bazsi@balabit.hu
Tue, 31 Aug 1999 08:28:54 +0200


On Mon, Aug 30, 1999 at 08:40:39PM -0400, The March Hare wrote:
> I am having trouble getting syslog-ng to log anything besides its own
> startup and shutdown.
> 
> I have used the following configuration file, which is very similar to the
> sample from the distribution:
> 
> options { sync(0); time_reopen(10); log_fifo_size(100); };
> 
> source src { 
>         unix-stream("/var/run/log");
>         udp();
>         tcp(ip("127.0.0.1") port(1000) mac(allow) authentication(required)
> encry
> pt(allow));
>         tcp();
> #       sun-streams("/dev/log" door("/etc/.syslog_door"));
>         internal();
> };

If I remember correctly you were using a BSD based system (netbsd), which
most probably uses unix-dgram style sockets to send log information. So
instead of unix-stream use unix-dgram.

> 
> destination everything { 
>         file("/var/log/syslog-ng" compress(on) sync(0) log_fifo_size(10));
> };

The compress option doesn't work yet.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
     url: http://www.balabit.hu/pgpkey.txt