packages/admin/syslog-ng/files/syslog-ng.conf
Philip Prindeville 165fc3eaf7 syslog-ng: bump to 3.9.1 and fix typo
Likewise fix default configuration to use SOCK_DGRAM and not SOCK_STREAM
as we currently do.

Add sha256 digest.

Rather than have the users replace syslog-ng.conf (which lately is
changing fairly frequently) and have them miss an important fix or
improvement, instead have them localize /etc/custom-logs.conf and
ship that as an empty file.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-02-05 19:34:01 -07:00

40 lines
548 B
Text

@version:3.9
options {
chain_hostnames(no);
create_dirs(yes);
flush_lines(0);
keep_hostname(yes);
log_fifo_size(256);
log_msg_size(1024);
stats_freq(0);
flush_lines(0);
use_fqdn(no);
};
source src {
internal();
unix-dgram("/dev/log");
};
source net {
udp(ip(0.0.0.0) port(514));
};
source kernel {
file("/proc/kmsg" program_override("kernel"));
};
destination messages {
file("/var/log/messages");
};
log {
source(src);
source(net);
source(kernel);
destination(messages);
};
@include "/etc/custom-logs.conf"