Xinyu Zhao 1f13960afb Add rsyslog cookbook and sync openstack logs
Modified the client recipe to sync openstack related
logs if a test indicator is enabled.

Change-Id: Ia41c28ccecb4ef298221494e6444d4909d917c56
2014-04-11 21:24:19 +00:00

13 lines
298 B
Plaintext

$Modload imfile
<% @loglist.each do |service, path| -%>
# <%= service %>
$InputFileName <%= path %>
$InputFileReadMode 0
$InputFileTag <%= service %>
$InputFileSeverity notice
$InputFileFacility local4
$InputFileStateFile
$InputRunFileMonitor
$InputFilePollInterval 1
<% end -%>