Difference between revisions of "Rsyslogd"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 9: Line 9:
  
 
Default Ubuntu 18.04 LTS configuration file:
 
Default Ubuntu 18.04 LTS configuration file:
<code>cat /etc/rsyslog.conf  | grep -v "#" | grep . </code>
+
<code>cat [[/etc/rsyslog.conf]] | grep -v "#" | grep . </code>
 
<pre>
 
<pre>
 
module(load="imklog" permitnonkernelfacility="on")
 
module(load="imklog" permitnonkernelfacility="on")

Revision as of 12:50, 13 August 2020

Jan 24 07:14:12 MACHINE_NAME rsyslogd[953]: file '7' write error: No space left on device [v8.32.0 try http://www.rsyslog.com/e/2027]


systemctl status rsyslog


Default Ubuntu 18.04 LTS configuration file: cat /etc/rsyslog.conf | grep -v "#" | grep .

module(load="imklog" permitnonkernelfacility="on")
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
$RepeatedMsgReduction on
$FileOwner syslog
$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
$Umask 0022
$PrivDropToUser syslog
$PrivDropToGroup syslog
$WorkDirectory /var/spool/rsyslog
$IncludeConfig /etc/rsyslog.d/*.conf

See also

Advertising: