[root@ldap-server openldap]# tail -n 1 /etc/rsyslog.conf local4.* /var/log/ldap.log [root@ldap-server openldap]# /etc/init.d/rsyslog restart 关闭系统日志记录器: [确定] 启动系统日志记录器: [确定] [root@ldap-server openldap]# 转载于:https://blog.51cto.com/wsxxsl/1910266