Exclude the exception message "You do not have direct access to this page" from logs

Created on 23 June 2020, about 5 years ago
Updated 6 May 2025, 3 months ago

I found a lot of messages about access denied and endpoint error in Drupal logs.

In my case, the crawler detected hybridauth links and inflicting those warnings and errors in site log. So I don't need to log this message.
Here is the patch that accomplishes that.

πŸ“Œ Task
Status

RTBC

Version

2.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia roman.haluska

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024