Add openstack logs in rsyslog server side config

Change-Id: I6e767aa0769c4b8d5dbeee191a641f21817f238b
This commit is contained in:
zhaoxinyu 2014-04-11 00:21:30 +00:00
parent d8af02a286
commit 083efdedcc

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