ryanbillingsley / express-ipfilter

A light-weight IP address based connection filtering system
MIT License
109 stars 44 forks source link

Support for logging only denials #31

Closed AdamGerthel closed 8 years ago

AdamGerthel commented 8 years ago

My log is quickly filling up with "Access granted" entries. I could turn off logging entirely, but for security purposes I would like to be able to see denied access attempts. How about adding an option be more specific in terms of logging? For example via a new option (string) logLevel with options of all|deny|allow defaulting to all.

longstone commented 8 years ago

from my point, that makes sense. I'll give a try..

ryanbillingsley commented 8 years ago

Merged in #32 which should fix this