Replace logger in drush framework commands

Created on 3 August 2024, 8 months ago
Updated 17 August 2024, 8 months ago

Problem/Motivation

Drush 13 uses the logger variable in DrushCommands with a different type, and it's no longer possible to override that with a Drupal logger. That badly breaks processes that rely on log messages in Drupal.

Proposed resolution

No longer use $logger, replace that with $drupalLogger.

🐛 Bug report
Status

Fixed

Version

2.6

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024