Log Filtering out blocked ip errors

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
12/13/2012 11:12:59 AM
Gravatar
Total Posts 133
J

Log Filtering out blocked ip errors

Hi Joe

Having instituted a fairly aggressive IP blocking strategy to get rid of all the lengthy errors from spiders that do not respect the robots protocol I now have hundreds of addlittedly shorter error logs from the blocking module. I was wondering if you would consider a toggle switch on the database log viewer to suppress viewing all the blocked IP module messages?

Cheers

John

12/13/2012 12:13:17 PM
Gravatar
Total Posts 18439

Re: Log Filtering out blocked ip errors

Hi John,

I'll add a config setting for the next release so you will be able to add this in user.config to turn off those log events:

<add key="LogBlockedRequests" value="false" />

If you put that in user.config then after the next upgrade it will stop logging those blocked requests.

The only other options for now is you could change the log level in log4net.config from INFO to WARN which would turn off all the informational logging but still log errors.

Or instead of using the banned ip support inside mojoPortal just block those ip addresses at the windows firewall instead, that blocks them from ever reaching your site or any other sites on your server.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.