title: cakephp 3 using scopes when logging
body: <p>I configured a logger for my orders in <code>app.php</code></p>
  
  <pre><code>'orders' =&gt; [
      'className' =&gt; 'Cake\Log\Engine\FileLog',
      'path' =&gt; LOGS,
      'file' =&gt; 'orders',
      'levels' =&gt; ['info'],
      'scopes' =&gt; ['orders'],
  ]
  </code></pre>
  
  <p>and then in one model of mine I did:</p>
  
  <pre><code> Log::info("There's an order", 'orders');
  </code></pre>
  
  <p>I expected the log message being written only in <code>orders.log</code> but it shows in <code>debug.log</code> too. </p>
  
  <p>according to documentation:</p>
  
  <blockquote>
    <p>If there is a configured logger for that scope, the log messages will
    be directed to those loggers. If a log message is written to an
    unknown scope, loggers that handle that level of message will log the
    message.</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>