Gentoo Linux - Enable Logging

December 2016




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 :

This document entitled « Gentoo Linux - Enable Logging » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.