config cert-mon to log with syslog
cert-mon is new service which writes logs to syslog facility local6. Configure the syslog to filter to direct the logging to /var/log/cert-mon.log. Story: 2007347 Task: 40416 Change-Id: I4eeb8e7eb52a62a379d8d42e9ef1069c5de3b480 Signed-off-by: Bin Qian <bin.qian@windriver.com>
This commit is contained in:
parent
29b55438df
commit
a27003df46
|
@ -102,6 +102,7 @@ destination d_postgres { file("/var/log/postgres.log"); };
|
|||
destination d_platform { file("/var/log/platform.log"); };
|
||||
destination d_openstack { file("/var/log/openstack.log" template(t_openstack)); };
|
||||
destination d_sm { file("/var/log/sm.log"); };
|
||||
destination d_certmon { file("/var/log/cert-mon.log"); };
|
||||
|
||||
# Maintenance Log destinations
|
||||
destination d_pmon { file("/var/log/pmond.log" template(t_mtc) perm(0640)); };
|
||||
|
@ -297,6 +298,7 @@ filter f_guestserver { facility(local5) and program(guestServer); };
|
|||
filter f_mtcagentalarm { facility(local5) and program(/var/log/mtcAgent_alarm.log); };
|
||||
filter f_mtcagentapi { facility(local5) and program(/var/log/mtcAgent_api.log); };
|
||||
filter f_mtcagentevent { facility(local5) and program(/var/log/mtcAgent_event.log); };
|
||||
filter f_certmon { facility(local6) and program(cert-mon); };
|
||||
|
||||
# Fault Management Filter
|
||||
filter f_fm_event { facility(local5) and program(fmManager); };
|
||||
|
@ -346,6 +348,7 @@ filter f_snmpat { facility(daemon) and program(snmpd) and match("snmp-auditor" v
|
|||
########################
|
||||
# Log paths
|
||||
########################
|
||||
log { source(s_src); filter(f_certmon); destination(d_certmon); };
|
||||
log { source(s_src); filter(f_auth); destination(d_auth); };
|
||||
log { source(s_src); filter(f_cron); destination(d_cron); };
|
||||
log { source(s_src); filter(f_daemon); destination(d_daemon); };
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
/var/log/syslog
|
||||
/var/log/auth.log
|
||||
/var/log/cron.log
|
||||
/var/log/cert-mon.log
|
||||
/var/log/daemon-ocf.log
|
||||
/var/log/kern.log
|
||||
/var/log/lpr.log
|
||||
|
|
Loading…
Reference in New Issue