centos 7 rsyslog 日志丢失 messages l
2021-07-08 本文已影响0人
虚心的锄头
系统日志显示
cat /var/log/messages
Jul 8 09:41:48 centos rsyslogd[29901]: imjournal: 12490 messages lost due to rate-limiting (20000 allowed within 600 seconds)
修改配置文件
vim /etc/rsyslog.conf
添加下面配置
$IMUXSockRateLimitInterval 0
$SystemLogRateLimitInterval 0
$imjournalRatelimitInterval 0
$imjournalRatelimitBurst 0
重启
/bin/systemctl restart rsyslog.service