configure syslog-ng correctly

This commit is contained in:
Sebastian Hugentobler 2017-02-14 14:23:52 +01:00
parent 1f36b3a1e9
commit c304fe5896

View File

@ -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);
};