Ok... just spent the better part of a day banging my head on the table with trying to do some simple logging in RB....
I've got an accept filter rule for a port, does some limiting, followed by another rule to log on the same port, followed by a rule to drop excess connections.
I've setup rules and actions for logging, as I wish to have a log file for this single purpose to monitor....
I coudn't understand why the log file was growing, when the log rule didn't have any bytes or packets (wasn't triggered).
It's this kind of thing that's driving me mad with this RouterBoard, but I persevere.
Then, a few moments ago, in a Eureka moment I realised...
"Prefix" in the Logging, Rules is NOT a Prefix Filter.... no, it's smply a prefix for that line in the log file........ it's loggin anything happening in firewall, info.... no wonder the log file was growing and had the prefix but the rule wasn't increasing in bytes & packets.
Granted, I could look into Syslog, get a client/server for the RB to report to and do the sifting/sorting out there, but the point was to setup something simple and quick.
Therefore, unless I'm missing the point, I guess this has turned into a Feature Request for Logging to be able to "Filter By Prefix/log entry begining text" Perhaps with wildcards too. As well as the rule example I gave, I also wanted a log of failed logins. I hd put in the prefix "login failure for user" expecting that to filter system error critical for just login failure entries.