- Issue created by @adam-vessey
- 🇨🇦Canada adam-vessey PE, Canada
In terms of what I used in our `settings.php`, something like:
if (!\Drupal\Core\Installer\InstallerKernel::installationAttempted()) { $GLOBALS['conf']['container_service_providers'][] = \Drush\Drupal\DrushLoggerServiceProvider::class; $settings['container_yamls'][] = __DIR__ . '/monolog.services.yaml'; }
Appeared to do the trick, but not sure how or where it would make sense to tie this into the documentation.
- 🇨🇦Canada adam-vessey PE, Canada
This seems related to https://www.drupal.org/project/monolog/issues/3346731 🐛 Functional test error service not found for one of the monolog services. Active , where the issue is more one of attempting to reference services provided by modules in general during site installation, where 3346731 was attempting to make use of dblog's logger.dblog service.