Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292977

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

$
0
0

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 node and book events which were previously logged as notices are now logged at the lower-severity "info" level. A change record lists which node and book events are now logged at the "info" level.


Viewing all articles
Browse latest Browse all 292977

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>