上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 177 下一页
摘要: startswithChecks if the value is found exactly at the beginning of the property value. For example, if you search for “val” with:msg, startswith, "v... 阅读全文
posted @ 2016-08-15 13:31 czcb 阅读(137) 评论(0) 推荐(0) 编辑
摘要: startswithChecks if the value is found exactly at the beginning of the property value. For example, if you search for “val” with:msg, startswith, "v... 阅读全文
posted @ 2016-08-15 13:31 czcb 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-08-15 12:53 czcb 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-08-15 12:53 czcb 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-08-15 11:28 czcb 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 随后配置logrotate的配置文件/etc/logrotate.conf,加入下面的内容:/var/log/ipwall/messages.log { #日志路径一定要和rsyslog定义的日志文件路径一致 rotate 65535 #滚动65535次... 阅读全文
posted @ 2016-08-12 20:39 czcb 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 随后配置logrotate的配置文件/etc/logrotate.conf,加入下面的内容:/var/log/ipwall/messages.log { #日志路径一定要和rsyslog定义的日志文件路径一致 rotate 65535 #滚动65535次... 阅读全文
posted @ 2016-08-12 20:39 czcb 阅读(575) 评论(0) 推荐(0) 编辑
摘要: rsyslog tomcat 服务器:192.168.32.215input(type="imfile"File="/usr/local/apache-tomcat-7.0.55_8082/logs/catalina.out"Tag="zjtest-api01"Severity="info"F... 阅读全文
posted @ 2016-08-12 17:08 czcb 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 在另外一种环境中,让我们假定你已经在机器上安装了一个名为“foobar”的应用程序,它会在/var/log下生成foobar.log日志文件。现在,你想要将它的日志定向到rsyslog服务器,这可以通过像下面这样在rsyslog配置文件中加载imfile模块来实现。首先,加载imfile模块,这... 阅读全文
posted @ 2016-08-12 14:42 czcb 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 在另外一种环境中,让我们假定你已经在机器上安装了一个名为“foobar”的应用程序,它会在/var/log下生成foobar.log日志文件。现在,你想要将它的日志定向到rsyslog服务器,这可以通过像下面这样在rsyslog配置文件中加载imfile模块来实现。首先,加载imfile模块,这... 阅读全文
posted @ 2016-08-12 14:42 czcb 阅读(1021) 评论(0) 推荐(0) 编辑
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 177 下一页