Merge "Add openstack logs in rsyslog server side config"
This commit is contained in:
commit
345d0e2c91
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user