centos 7 取消LOG输出限制

前端之家收集整理的这篇文章主要介绍了centos 7 取消LOG输出限制前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Add the following to /etc/rsyslog.conf after '$ModLoad imuxsock' and '$ModLoad imjournal':

$IMUXSockRateLimitInterval 0
$IMJournalRatelimitInterval 0

Set the following in /etc/systemd/journald.conf:

Storage=volatile
Compress=no
RateLimitInterval=0
MaxRetentionSec=5s

Restart journald and rsyslog to pickup the changes with:

systemctl restart systemd-journald.service
systemctl restart rsyslog.service
原文链接:https://www.f2er.com/centos/379078.html

猜你在找的CentOS相关文章