diff --git a/syslog-ng.d/wlceventd b/syslog-ng.d/wlceventd index 8a0b6b3..ea08d0b 100644 --- a/syslog-ng.d/wlceventd +++ b/syslog-ng.d/wlceventd @@ -1,20 +1,39 @@ # put wlceventd Assoc/ReAssoc/Disassoc messages into /opt/var/log/wlceventd.log +################################################ +# This configuration file now includes the +# the system new "/jffs/wifi_wlc.log" file +# as a 'source' for the filtered log file. +# Last Modified: 2026-Aug-01 +################################################ +source s_wifi_wlc { + wildcard_file(base_dir("/jffs") + filename_pattern("wifi_wlc.log") + recursive(no) max-files(1) + follow-method("inotify") + monitor-method(inotify) + log_fetch_limit(1000) + flags(syslog-protocol)); +}; + destination d_wlceventd { file("/opt/var/log/wlceventd.log"); }; filter f_wlceventd { ( ( program("WLCEVENTD") or - program("wlceventd") ) and - ( message("ssoc") or - message("uth") ) ) or - ( program("syslog") and - message("wlceventd") ); + program("wlceventd") ) + and + ( message("ssoc") or + message("uth") ) + ) or + (program("syslog") and + message("wlceventd") ); }; log { source(src); + source(s_wifi_wlc); filter(f_wlceventd); destination(d_wlceventd); flags(final);