TypechoJoeTheme

Yuuuuuu

搜索到 1 篇与 的结果
2018-02-25

Centos7 配置rsyslog客户端接收远程日志

Centos7 配置rsyslog客户端接收远程日志
因为路由器我设定每天重启,但是日志一重启就会清除,并且路由器最多只能保存1024条记录,所以我想把路由器的日志记录到一台服务器上,发现路由器包含远程日志功能于是我就在我的centos7服务器配置了下rsyslog,把日志记录到这里编辑服务端的/etc/rsyslog.conf文件注意下中文注释地方# rsyslog configuration file # For more information see /usr/share/doc/rsyslog-*/rsyslog_conf.html # If you experience problems, see http://www.rsyslog.com/doc/troubleshoot.html #### MODULES #### # The imjournal module bellow is now used as a message source instead of imuxsock. $ModLoad imuxsock # provides support for local system logging (e.g...
2018年02月25日
4,342 阅读
0 评论