【发布时间】:2020-07-11 00:55:34
【问题描述】:
我想过滤每条带有“JSD”文本的日志消息,所以我设置了过滤器表达式:
:msg, contains, "JSD" /var/log/docker/docker.log 在/etc/rsyslog.conf。
但是,当生成此日志消息时,/var/log/docker/docker.log 没有任何内容,/var/log/syslog 中出现以下日志条目:
Jul 10 16:32:57 jsd-user-management rsyslogd: action 'action 0' suspended (module 'builtin:omfile'),
next retry is Fri Jul 10 16:33:27 2020, retry nbr 0. There should be messages before this one giving the
reason for suspension. [v8.32.0 try http://www.rsyslog.com/e/2007 ]
【问题讨论】: