Presentation: https://docs.google.com/presentation/d/1e5ZjOBDmC2cJeV5V01YjdQdqxUPEiUjICkjMQBJic04/edit?usp=sharing
You can use dblog instead of logging to a file by doing this:
- Enable dblog (if not enabled with config split)
- Add this to settings.local.php (if not already there):
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/default/services.local.yml';
Then create (or update) a file called 'sites/default/services.local.yml
with this content:
parameters:
# Enable dblog as logger. Requires dblog module to be active.
monolog.channel_handlers:
default:
- drupal.dblog