Send also to dblog

Created on 30 November 2021, over 2 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.69.0 2024