FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
middleware:rsyslog:default_conf.html [2018/01/27 23:30] kurihara created |
middleware:rsyslog:default_conf.html [2018/01/28 01:52] (current) kurihara |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| [[middleware: | [[middleware: | ||
| - | ====== / | + | ====== / |
| \\ | \\ | ||
| Line 11: | Line 11: | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| + | #### MODULES #### | ||
| $ModLoad imuxsock # provides support for local system logging (e.g. via logger command) | $ModLoad imuxsock # provides support for local system logging (e.g. via logger command) | ||
| $ModLoad imjournal # provides access to the systemd journal | $ModLoad imjournal # provides access to the systemd journal | ||
| + | |||
| + | #### GLOBAL DIRECTIVES #### | ||
| $WorkDirectory / | $WorkDirectory / | ||
| $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat | $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat | ||
| Line 18: | Line 21: | ||
| $OmitLocalLogging on | $OmitLocalLogging on | ||
| $IMJournalStateFile imjournal.state | $IMJournalStateFile imjournal.state | ||
| + | |||
| + | #### RULES #### | ||
| *.info; | *.info; | ||
| authpriv.* | authpriv.* | ||
| Line 25: | Line 30: | ||
| uucp, | uucp, | ||
| local7.* | local7.* | ||
| + | </ | ||
| + | |||
| + | ==== / | ||
| + | <sxh bash toolbar: | ||
| + | $SystemLogSocketName / | ||
| </ | </ | ||
| Line 33: | Line 43: | ||
| ==== / | ==== / | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| + | #### MODULES #### | ||
| module(load=" | module(load=" | ||
| module(load=" | module(load=" | ||
| $KLogPermitNonKernelFacility on | $KLogPermitNonKernelFacility on | ||
| + | |||
| + | #### GLOBAL DIRECTIVES #### | ||
| $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat | $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat | ||
| $RepeatedMsgReduction on | $RepeatedMsgReduction on | ||
| Line 48: | Line 61: | ||
| $IncludeConfig / | $IncludeConfig / | ||
| </ | </ | ||
| + | |||
| + | |||
| + | |||
| + | ==== / | ||
| + | <sxh bash toolbar: | ||
| + | # Default rules for rsyslog. | ||
| + | auth, | ||
| + | *.*; | ||
| + | kern.* | ||
| + | mail.* | ||
| + | mail.err | ||
| + | news.crit | ||
| + | news.err | ||
| + | news.notice | ||
| + | |||
| + | *.emerg | ||
| + | |||
| + | daemon.*; | ||
| + | news.err;\ | ||
| + | *.=debug; | ||
| + | *.=notice; | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== / | ||
| + | <sxh bash toolbar: | ||
| + | : | ||
| + | </ | ||
| + | |||
| + | \\ | ||
| + | <WRAP box 90%> | ||
| + | <catlist -noAddPageButton -smallHead -sortAscending> | ||
| + | </ | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.