CaptnDanLKW
Senior Member
I'm trying to add the "bsd:" kernel and program sources to the same wlceventd log but cannot figure out the syntax.
I used the working filter and added line
I'm trying to add the "bsd:" kernel and program sources to the same wlceventd log but cannot figure out the syntax, though I think I'm following an example from a different sample filter that does work.
I used the working wlceventd filter and added the bolded lines below.
Soon as I restart Scribe, the entries that should be captured by f_wlceventd revert back to the messages log.
I used an example from another sample filter that makes use of two filter sources for the same log... seems like this should work.
Any help would be appreciated! Thanks!
__________
# put bsd and wlceventd Assoc/ReAssoc/Disassoc messages into /opt/var/log /wlceventd.log
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") );
};
filter f_bsd {
program("bsd") and
message("bsd") ;
};
log {
source(src);
filter(f_wlceventd);
filter(f_bsd);
destination(d_wlceventd);
flags(final);
};
#eof
I used the working filter and added line
I'm trying to add the "bsd:" kernel and program sources to the same wlceventd log but cannot figure out the syntax, though I think I'm following an example from a different sample filter that does work.
I used the working wlceventd filter and added the bolded lines below.
Soon as I restart Scribe, the entries that should be captured by f_wlceventd revert back to the messages log.
I used an example from another sample filter that makes use of two filter sources for the same log... seems like this should work.
Any help would be appreciated! Thanks!
__________
# put bsd and wlceventd Assoc/ReAssoc/Disassoc messages into /opt/var/log /wlceventd.log
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") );
};
filter f_bsd {
program("bsd") and
message("bsd") ;
};
log {
source(src);
filter(f_wlceventd);
filter(f_bsd);
destination(d_wlceventd);
flags(final);
};
#eof