Merge "Add openstack logs in rsyslog server side config"

This commit is contained in:
Jenkins 2014-04-15 17:38:55 +00:00 committed by Gerrit Code Review
commit 345d0e2c91

View File

@ -23,7 +23,7 @@ $WorkDirectory /var/lib/rsyslog
# Added for chef logfiles
$template Chef_log,"/var/log/cobbler/anamon/%hostname%/chef-client.log"
$template Raw, "%rawmsg%"
$template Openstack_log, "/var/log/cobbler/anamon/%hostname%/%programname%.log"
#### GLOBAL DIRECTIVES ####
# Use default timestamp format
@ -75,6 +75,8 @@ local7.* /var/log/boot.log
local3.* -?Chef_log
if $syslogfacility-text == 'local4' then -?Openstack_log
# ### begin forwarding rule ###
# The statement between the begin ... end define a SINGLE forwarding
# rule. They belong together, do NOT split them. If you create multiple