Problem/Motivation

To prevent lot of logs in database when dblog is enabled on a project, it would be better to only log warnings and errors by default and add a "Verbose mode" that would also log successful calls but only when it is enabled.

Steps to reproduce

Proposed resolution

  • Add a "Verbose mode" checkbox to the module settings form
  • Condition the informational logs about successful calls based on the checkbox

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork index_now-3561707

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

macsim created an issue. See original summary.

macsim’s picture

Status: Active » Needs review
macsim’s picture

Assigned: macsim » Unassigned
macsim’s picture

Status: Needs review » Reviewed & tested by the community

If "Verbose mode" is disabled, I don't see the info log about the Index Now successful call, if I enable it I see that info log

  • macsim committed d07488dd on 3.1.x
    feat: #3561707 Add a verbose mode and log successful calls only when it...
macsim’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

macsim’s picture

Status: Fixed » Closed (fixed)