2021年8月21日 星期六

Rsyslog dispatch to different log file by msg and programname

由 Log 訊息包含字串區分
:msg, contains, "Error" /var/log/error.log

由程式名稱區分
:programname, isequal, "prog" /var/log/prog.log

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

沒有留言:

Windows 11 bypass TPM and create local account

跳過 TPM 檢查及建立本機帳號,適用 Windows 11 25H2 Aug 2026 版本 看到選擇語言時,Shift-F10 叫出 CMD,執行 regedit HKEY_LOCAL_MACHINE\SYSTEM\Setup 下面新增 機碼(Key)LabConfig ...