centos的/var/log/message 中没有日志

#############################

 

 

问题:在 /var/log/message 中么有发现日志,或者发现 imjournal: begin to drop messages due to rate-limiting.主要原因是:


The limits are controlled in the /etc/systemd/journald.conf file.

RateLimitInterval=30s
RateLimitBurst=1000

操作:那么在/etc/rsyslog.conf 需要设置:

$ModLoad imjournal
$imjournalRatelimitInterval 600
$imjournalRatelimitBurst 20000


操作:然后重启rsyslog服务

 

 

 

 

 

 

 

 

 

 

 

###################

posted @ 2020-12-03 17:58  igoodful  阅读(2771)  评论(0编辑  收藏  举报