@@ -8,6 +8,7 @@ Requirements
88Attributes
99----------
1010* node[ 'fb_syslog'] [ 'manage_packages' ]
11+ * node[ 'fb_syslog'] [ 'enable_imklog_permitnonkernelfacility' ]
1112* node[ 'fb_syslog'] [ 'syslog-entries' ]
1213* node[ 'fb_syslog'] [ 'rsyslog_server' ]
1314* node[ 'fb_syslog'] [ 'rsyslog_server_address' ]
3536This cookbook will install and manage the ` rsyslog ` package unless the
3637` node['fb_syslog']['manage_packages] ` attribute is set to ` false ` .
3738
39+ ### enable_imklog_permitnonkernelfacility
40+ The ` enable_imklog_permitnonkernelfacility ` option allows the ` imklog ` module
41+ to capture logs from non-kernel facilities. By default, ` imklog ` only
42+ processes logs from the kernel (kernel facility). However, user-space
43+ applications can also write valuable system-level events, such as
44+ reboot events, to the kernel(` /dev/kmsg ` ). When this option is enabled,
45+ all logs sent to the kernel will be captured by ` imklog ` and recorded in
46+ ` /var/log/messages ` .
47+ ` false ` by default
48+ https://www.rsyslog.com/doc/configuration/modules/imklog.html#permitnonkernelfacility
49+
3850### syslog-compatible entries
3951The ` node['fb_syslog']['syslog-entries'] ` is used to populate all lines
4052in a ` syslog.conf ` , and all syslog-style entries in ` rsyslog.conf ` .
@@ -245,4 +257,3 @@ node.default['fb_syslog']['sysconfig']['vars']['SYSLOGD_OPTIONS'] =
245257
246258But the ` extra_lines ` array is also available for forcing arbitrary stuff like
247259` ulimit ` calls.
248-
0 commit comments