Remove rsyslog added tags in openstack logs
To process logs by os_loganalyze on log server, the format need to be the same as in original log files. Change-Id: I07935eae0d29005725a27f8b4b4056219ccf7005
This commit is contained in:
parent
915371319a
commit
097ba7eaa4
@ -23,6 +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 CustomLog, "%msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\n"
|
||||
$template Openstack_log, "/var/log/cobbler/anamon/%hostname%/%programname%.log"
|
||||
#### GLOBAL DIRECTIVES ####
|
||||
|
||||
@ -75,7 +76,7 @@ local7.* /var/log/boot.log
|
||||
|
||||
local3.* -?Chef_log
|
||||
|
||||
local4.* -?Openstack_log
|
||||
local4.* -?Openstack_log;CustomLog
|
||||
|
||||
# ### begin forwarding rule ###
|
||||
# The statement between the begin ... end define a SINGLE forwarding
|
||||
|
Loading…
x
Reference in New Issue
Block a user