In a Drupal 8 site, on the page /admin/config/development/logging
, I can specify if I want warnings, errors and other messages to be displayed. But either I want them displayed or not, they exist.
On this other page, admin/reports/dblog
, I can see all the logs available in database.
But if my site has many visitors, Debug, Info and Notice logs are constantly inserted in the database. Which causes high charge on the database and "hides" the important logs (errors and warnings).
How can I tel Drupal "Do not insert in database any log with a severity level below WARNING" ? The equivalent of the level
value we find in every logging framework.