Add option to disable logging completely

Created on 4 July 2023, 12 months ago
Updated 18 July 2023, 12 months ago

Problem/Motivation

Sort of a bug report/ sort of a feature request. Module homepage says it can do these two things:

  1. generate email notifications when content was added, updated, or deleted; and
  2. generate email notices about content that had gone 6 months without being reviewed

If you eg, don't use (1) every insert/update/delete of a node triggers a logger message like "Simple content notifications is installed but not configured.". Yet it can be configured eg for option (2) only.

Steps to reproduce

Configure only review notifications
Save any node
Watch logs get filled

Proposed resolution

Add an option to disable the logger

Remaining tasks

MR/Patch on the way

User interface changes

Adds a settings option to the admin config form, provides an update hook to maintain status quo (ie, enabled logging)

API changes

None

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom scott_euser

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

Comments & Activities

Production build 0.69.0 2024