
Rsyslog has limitation on number of files it can monitor. Also write a state file for each log. Change-Id: I3497ff2d9c1655f89de4d69aed83cc7edfa534ee
13 lines
313 B
Plaintext
13 lines
313 B
Plaintext
$Modload imfile
|
|
<% @loglist.each do |service, path| -%>
|
|
# <%= service %>
|
|
$InputFileName <%= path %>
|
|
$InputFileReadMode 0
|
|
$InputFileTag <%= service %>
|
|
$InputFileSeverity notice
|
|
$InputFileFacility local4
|
|
$InputFileStateFile <%= service %>
|
|
$InputRunFileMonitor
|
|
$InputFilePollInterval 1
|
|
<% end -%>
|