From c304fe589617c1d8245da7ea2489eea2431d15ee Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 14 Feb 2017 14:23:52 +0100 Subject: [PATCH] configure syslog-ng correctly --- rootfs/etc/syslog-ng/syslog-ng.conf | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/rootfs/etc/syslog-ng/syslog-ng.conf b/rootfs/etc/syslog-ng/syslog-ng.conf index ff2f03b..578aeff 100644 --- a/rootfs/etc/syslog-ng/syslog-ng.conf +++ b/rootfs/etc/syslog-ng/syslog-ng.conf @@ -1,8 +1,24 @@ +@version: 3.7 + +options { + stats_freq (0); + time_reopen (10); + chain_hostnames (off); + use_dns (no); + use_fqdn (no); + keep_hostname (yes); +}; + +source s_local { + unix-dgram("/dev/log"); + internal(); +}; + destination catchall { - file(/dev/console); + pipe("/dev/stdout"); }; log { - source(syslog); + source(s_local); destination(catchall); };