4

The issue Add an option to suppress page not found watchdog messages at https://www.drupal.org/node/2836458 indicates that a setting was added to Drupal 8 to suppress page not found errors in watchdog. I can't find the setting in the interface. Am I mistaken in understanding that it was added? If not, where do I find this setting? Running Drupal 8.8.1.

1 Answer 1

5

Yes that option is available as described in the linked issue.

Make sure you have the Redirect 404 module enabled, visit /admin/config/search/redirect/settings, and select the Suppress 'page not found' log messages option.

Configuration form screenshot

That will stop 404s being logged.

3
  • Thanks, @Clive. I don't see the Redirect 404 module as being available for Drupal 8. Am I missing something there? Ah! I see it's in core. I'l try it out and report. Commented Jan 20, 2020 at 17:10
  • Oh right, it’s part of the normal redirect module (as a submodule) in D8 @Marshall
    – Clive
    Commented Jan 20, 2020 at 18:05
  • Worked perfectly! Thanks again, @Clive. Enabling 404 Redirect was it. It's always the one little thing I miss that catches me. Commented Jan 20, 2020 at 19:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.