title: Delayed Jobs isn't logging on Heroku
body: <p>I managed to log into a custom log file using this configuration:</p>
  
  <pre><code>Delayed::Worker.logger = 
    ActiveSupport::BufferedLogger.new("log/#{Rails.env}_delayed_jobs.log", Rails.logger.level)
  </code></pre>
  
  <p>It's working locally. I can see the file change and all the logs I want.</p>
  
  <p>But the problem is that when I deploy to Heroku and run the job, and try to read the contents of the file through the console, I don't get the expected results.</p>
  
  <pre><code>irb(main):070:0* File.read('/app/log/production_delayed_jobs.log')
  =&gt; "# Logfile created on 2013-06-20 08:36:43 +0000 by logger.rb/25413\n"
  </code></pre>
  
  <p>Note that I set the loggin level to :debug in production. In config/environments/production.rb I have this configuration:</p>
  
  <pre><code>config.log_level = :debug
  </code></pre>