Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes logger

  • Loading branch information...
commit bfa5942f6a403f7f7897ed4dc4a3e5afc795073f 1 parent 920105a
@tompesman authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/push/daemon/logger.rb
View
1  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)
Please sign in to comment.
Something went wrong with that request. Please try again.