You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
548 B

  1. @version:3.9
  2. options {
  3. chain_hostnames(no);
  4. create_dirs(yes);
  5. flush_lines(0);
  6. keep_hostname(yes);
  7. log_fifo_size(256);
  8. log_msg_size(1024);
  9. stats_freq(0);
  10. flush_lines(0);
  11. use_fqdn(no);
  12. };
  13. source src {
  14. internal();
  15. unix-dgram("/dev/log");
  16. };
  17. source net {
  18. udp(ip(0.0.0.0) port(514));
  19. };
  20. source kernel {
  21. file("/proc/kmsg" program_override("kernel"));
  22. };
  23. destination messages {
  24. file("/var/log/messages");
  25. };
  26. log {
  27. source(src);
  28. source(net);
  29. source(kernel);
  30. destination(messages);
  31. };
  32. @include "/etc/custom-logs.conf"