Warning is emitted when no targets are configured
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3553568. -->
Reported by: [rudolfbyker](https://www.drupal.org/user/1324966)
Related to !6
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p><code>foreach() argument must be of type array|object, null given in Logger.php on line 149</code></p>
<p>This blocks <a href="https://git.drupalcode.org/project/request_logger/-/merge_requests/8">https://git.drupalcode.org/project/request_logger/-/merge_requests/8</a> .</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Log anything while there are no targets configured.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Provide sensible fallback values when getting values from config.</p>
issue