Gentoo Linux - Enable Logging

February 2017




The Gentoo offers different logging features. It is possible to install:

sysklogd

  • sysklogd which is the native set of utilities:


emerge sysklogd 
=>Configuration file: /etc/syslog.conf

syslog-ng

  • syslog-ng is an advanced system logger


emerge syslog-ng 
=>Configuration file: /etc/syslog-ng/syslog-ng.conf 

metalog

  • metalog is a highly customizable logging feature


emerge metalog 
=>Configuration file: /etc/metalog.conf

Note that


In addition to using sysklogd or syslog-ng, it recommended to install logrotate that recycles old logs
emerge logrotate 
=>Configuration file: /etc/logrotate.conf

Related


Published by jak58. Latest update on July 6, 2010 at 08:24 AM by jak58.
This document, titled "Gentoo Linux - Enable Logging," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).