title: How do I set logging priority in zend framework2?
body: <p>I want to be able to control the logging priority in my zf2 application. I currently do</p>
  
  <pre><code> $priority = \Zend\Log\Logger::INFO;
   $log-&gt;addWriter($writer, $priority);
  </code></pre>
  
  <p>to write to a log file, which works great. It just seems that the log level is stuck at Zend\Log\Logger::DEBUG no matter what I set $priority to.</p>