vip-go-mu-plugins icon indicating copy to clipboard operation
vip-go-mu-plugins copied to clipboard

Set severity level for VIP_Request_Block messages.

Open emrikol opened this issue 2 years ago • 1 comments

Expected/Desired Behavior

I think it would be nice if we switched the VIP_Request_Block class from using error_log() to trigger_error( $message, E_USER_NOTICE ) so that request blocking messages could be easily filtered out of the error logs.

Actual Behavior

We currently just ship out the message without a severity, making filtering harder to do when sorting through many messages.

emrikol avatar Aug 01 '22 20:08 emrikol

PRs welcome. I think it should be E_USER_WARNING though?

rinatkhaziev avatar Aug 02 '22 22:08 rinatkhaziev

This issue has been marked stale because it has been open for 60 days with no activity. If there is no activity within 7 days, it will be closed.

This is an automation to keep issues manageable and actionable and is not a comment on the quality of this issue nor on the work done so far. Closed issues are still valuable to the project and are available to be searched.

github-actions[bot] avatar Oct 02 '22 00:10 github-actions[bot]