2021年11月9日 星期二

Rsyslog discards rest

& stop
舊式寫法 & ~

表示忽略剩下的 Rule,不繼續走,沒加的話會把 rsyslog.conf 的 Rule 走完
要把某一類的 Log 獨立出來,在 /etc/rsyslog.d 建立 conf,conf 裡面最後寫 & stop,沒加的話預設的 messages 也會出現

例如: /etc/rsyslog.d/haproxy.conf

local2.* /var/log/haproxy.log
& stop

ref. https://www.rsyslog.com/doc/master/configuration/converting_to_new_format.html

沒有留言:

WinBox legacy version 3.x

RouterBoard 管理工具 WinBox 官方已經出 4.x 版 UI 比較漂亮,但也肥大許多(解開大於50M),還是習慣使用舊版(x64 只有 2.2M) WinBox 3.43 Legacy version of advanced desktop utility ...