Convert "Top 'access denied' errors.", "Top 'page not found' errors" and Top search phrases to views

Created on 16 July 2018, over 7 years ago
Updated 25 October 2025, 14 days ago

Problem/Motivation

The listings:

  • Top 'access denied' errors.
  • Top 'page not found' errors.
  • Top search phrases.

Provided by dblog are using some database specific logic to return information. I'm not even sure how much this pages are being used by Drupal users anyway.

I would like to propose to replace those lists by views only versions and delete the dblog specific code from the module. Doing this reduced dblog complexity and helps to simplify #2458191: Provide a storage backend for dblog module .

Proposed resolution

  • Replace Top access denied errors, Top page not found and Top search phrases with a view.
  • Delete the code relevant to this functionality from dblog.
  • If the deletion is not possible due backward compatibility polices, at least deprecate those mothods from the module.

Remaining tasks

  • Discuss if this is a valid request.
  • Make a patch.

User interface changes

None if the views module is enabled. The user interface provided by views is identical to the created by dblog.

API changes

Deprecation or deletion of DbLogController::topLogMessages().

Data model changes

Feature request
Status

Needs work

Version

11.0 🔥

Component

dblog.module

Created by

🇦🇷Argentina dagmar Argentina

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.

No activities found.

Production build 0.71.5 2024