title: Monolog in Silex application
body: <p>I try to use Monolog in my Silex application, according to the doc</p>
  
  <pre><code>http://silex.sensiolabs.org/doc/master/providers/monolog.html
  </code></pre>
  
  <p>I declare MonologServiceProvider in the app.php file as follow:</p>
  
  <pre><code>use Silex\Provider\MonologServiceProvider;
  
  $app-&gt;register(new MonologServiceProvider(), array(
      'monolog.logfile' =&gt; __DIR__ . '/../files/logs/log.log',
  ));
  </code></pre>
  
  <p>And I try to write in my log.log file on the controler:</p>
  
  <pre><code>use Monolog\Logger;
  use Monolog\Handler\StreamHandler;
  
  // In a controler
  $app['monolog']-&gt;info("test");
  $app['monolog']-&gt;debug("test");
  $app['monolog']-&gt;warning("test");
  $app['monolog']-&gt;error("test");
  </code></pre>
  
  <p>I don't have any error, but it is not working at all.</p>
  
  <p>I just wan't to put my "test" message in my log.log file, how can I do that ?</p>
  
  <p>Thanks for help</p>