如何运行/配置syslog-ng
仅高于安全日志级别/优先级的日志WARNING
?
我想丢弃NOTICES
像:
Destination timeout has elapsed, closing connection; fd='36'
从文档中:(https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.22/administration-guide/17#TOPIC-1209129)我发现了这个:
syslog-ng OSE 应用程序从 internal() 源发送以下消息类型:
致命:优先级值:关键(2),设施值:系统日志(5)
错误:优先级值:错误(3),设施值:系统日志(5)
警告:优先级值:警告(4),设施值:系统日志(5)
notice:优先级值:notice (5),Facility 值:syslog (5)
info:优先级值:info (6),Facility 值:syslog (5)
但找不到如何将日志级别设置为warning