packages/admin/syslog-ng3/files/syslog-ng.conf
florian d0c544b3cd [package] updpate syslog-ng3 to 3.0.5, add support for logging kernel messages, patch from Edgar Soldin
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-20 10:29:33 +00:00

38 lines
514 B
Plaintext

@version:3.0
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-stream("/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);
};