Demote routine content entity log entries from "notice" to "info"

Created on 22 December 2021, over 2 years ago
Updated 14 August 2023, about 1 year ago

Problem/Motivation

Routine content management events, such as creating a node, are logged with the "notice" log level, which is for "normal but significant events." On active sites, these events are not really significant per se, so the lower severity "info" log level, for "interesting events," would be a better fit.

Steps to reproduce

Install node module, create a node, find a notice entry in your database log or syslog.

Proposed resolution

Demote from notice to info:

  • Delete node revision
  • Revert node revision
  • Delete node
  • Create node
  • Update node
  • Update book

Keep as a notice:

  • Create node type

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

Log level changes

Some routine content entity events (this includes book, custom block, media, node and others) which were previously logged as notices are now logged at the lower-severity "info" level. A change record β†’ lists which events are now logged at the "info" level.

πŸ“Œ Task
Status

Fixed

Version

10.1 ✨

Component
Node systemΒ  β†’

Last updated less than a minute ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States mfb San Francisco

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