syslog-ng.conf 460 B

12345678910111213141516
  1. options {
  2. chain_hostnames(off);
  3. sync(0);
  4. # The default action of syslog-ng 1.6.0 is to log a STATS line
  5. # to the file every 10 minutes. That's pretty ugly after a while.
  6. # Change it to every 12 hours so you get a nice daily update of
  7. # how many messages syslog-ng missed (0).
  8. stats(43200);
  9. };
  10. source src { unix-stream("/dev/log"); internal(); };
  11. destination messages { file("/var/log/messages"); };
  12. log { source(src); destination(messages); };