Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Miscellany
Friday, April 4th, 2008 at 7:48:50pm UTC 

  1. # $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo,v 1.7 2007/08/02 04:52:18 mr_bones_ Exp $
  2. #
  3. # Syslog-ng default configuration file for Gentoo Linux
  4. # contributed by Michael Sterrett
  5.  
  6. options {
  7.         chain_hostnames(off);
  8.         sync(0);
  9.  
  10.         # The default action of syslog-ng 1.6.0 is to log a STATS line
  11.         # to the file every 10 minutes.  That's pretty ugly after a while.
  12.         # Change it to every 12 hours so you get a nice daily update of
  13.         # how many messages syslog-ng missed (0).
  14.         stats(43200);
  15. };
  16.  
  17. source src {
  18.     unix-stream("/dev/log" max-connections(256));
  19.     internal();
  20.     file("/proc/kmsg");
  21. };
  22.  
  23. destination messages { file("/var/log/messages"); };
  24.  
  25. # By default messages are logged to tty12...
  26. destination console_all { file("/dev/tty12"); };
  27. # ...if you intend to use /dev/console for programs like xconsole
  28. # you can comment out the destination line above that references /dev/tty12
  29. # and uncomment the line below.
  30. #destination console_all { file("/dev/console"); };
  31.  
  32. log { source(src); destination(messages); };
  33. log { source(src); destination(console_all); };

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right