Move the log from /var/log/messages to /var/log/sepfl.log in Endpoint Protection for Linux
book
Article ID: 172619
calendar_today
Updated On:
Products
Endpoint Protection
Issue/Introduction
How to move the log from /var/log/messages to /var/log/sepfl.log in Symantec Endpoint Protection for Linux (SEPFL)
Resolution
Edit /etc/sysconfig/rtvscand, then change below infromation and save the changes.
Change "RTVSCAND_OPTS="-l info"" to "RTVSCAND_OPTS="-f local0 -l info""
Edit /etc/sysconfig/symcfgd, then change below infromation and save the changes.
Change "SYMCFGD_OPTS="-l info"" to "SYMCFGD_OPTS="-f local0 -l info""
Edit /etc/sysconfig/smcd, then change below infromation and save the changes.
Change "SMCD_OPTS="-l info"" to "SMCD_OPTS="-f local0 -l info""
Edit /etc/rsyslog.conf, then add below infromation and save the changes.
local0.* /var/log/sepfl.log
Edit /etc/rsyslog.conf, then change below infromation and save the changes.
Change "*.info;mail.none;authpriv.none;cron.none; var/log/messages" to "*.info;mail.none;authpriv.none;cron.none;local0.none; var/log/messages"
Restart SEPFL service.
# service symcfgd stop
# service smcd start
Restart rsyslogd.
# service rsyslog restart
Confirm log information in below log.
tail -f /var/log/sepfl.log
tail -f /var/log/messages