vsemionov / django-blacklist

Blacklist users and hosts in Django. Automatically blacklist rate-limited clients.
MIT License
22 stars 10 forks source link

Disabling Logging #5

Closed sweldon closed 3 years ago

sweldon commented 4 years ago

Hello, thanks for your work on the plugin! Would it be possible to add in a setting variable to disable logging? When blacklisted IPs hit our endpoints repeatedly it leads to some spam in our logs. It would be great if we could just reject ip's silently. Thanks very much, Steve

sweldon commented 4 years ago

Made a PR for this https://github.com/vsemionov/django-blacklist/pull/6

vsemionov commented 3 years ago

Thank you, @sweldon . I've merged the PR and the change will be released with the next version.