Drush 13 logger drush status error

Created on 28 February 2025, 9 days ago

AssertionError: Instead of using replacing Drush's logger, use $this->add() on DrushLoggerManager to add a custom logger. See https://github.com/drush-ops/drush/pull/5022 in assert() (line 82 of /Applications/MAMP/htdocs/cep_cms/vendor/drush/drush/src/Commands/DrushCommands.php

"require": {
"drupal/core-recommended": "10.4.2",
"drush/drush": "^13.3",
"drupal/ultimate_cron": "2.0.0-alpha6",

modules/contrib/ultimate_cron/src/Commands/UltimateCronCommands.php

  public function __construct(LoggerChannelFactoryInterface $logger) {
    $this->logger = $logger->get('ultimate_cron');
  }

this prevents commands like drush status from running correctly

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jakegibs617

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

Comments & Activities

Production build 0.71.5 2024