haproxy日志配置

vim /etc/syslog.conf

添加:

local3.* /var/log/haproxy.log

local0.* /var/log/haproxy.log

[root@cacti ~]# vim /etc/sysconfig/syslog

修改:

SYSLOGD_OPTIONS="-r -m 0"

service syslog restart


你可能感兴趣的:(haproxy,日志配置)