fix: #3638166 Console log output stops after a container rebuild during a dr command

Adds the persist tag to the logger.console service. The kernel then moves the existing instance into the rebuilt container. A test command in console_test and a new case in ConsoleTest cover the rebuild.

Issue: https://www.drupal.org/project/drupal/issues/3638166

Generated with the help of an LLM.

Merge request reports

Loading
Loading