Logging

Hacked this together some time ago for my own usage (so I can fair2ban based on certain events), since I noticed more calls to event_log, I thought this might be useful.

Have at it.