Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 24 additions & 5 deletions syslog-ng.d/wlceventd
Original file line number Diff line number Diff line change
@@ -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);
Expand Down