Send also to dblog

Created on 30 November 2021, about 3 years ago

This is my service definition:

parameters:
  monolog.channel_handlers:
    default:
      - default_handler
      - drupal.dblog
  monolog.processors:
    - ...
    ...
services:
  monolog.handler.default_handler:
    class: Monolog\Handler\RotatingFileHandler
    arguments: ['/tmp/drupal.log', 10, '100']

With this setup, I'm expecting that log entries are recorded to /tmp/drupal.log (rotated) but also in the watchdog table. But watchdog is empty

💬 Support request
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

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