Permalink
Browse files

Fixes logger

  • Loading branch information...
1 parent 920105a commit bfa5942f6a403f7f7897ed4dc4a3e5afc795073f @tompesman committed Jul 3, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/push/daemon/logger.rb
@@ -2,6 +2,7 @@ module Push
module Daemon
class Logger
def initialize(options)
+ @options = options
log_file = File.open(File.join(Rails.root, 'log', 'push.log'), 'w')
log_file.sync = true
@logger = ActiveSupport::BufferedLogger.new(log_file, Rails.logger.level)

0 comments on commit bfa5942

Please sign in to comment.