Skip to content

Commit

Permalink
Fixes logger
Browse files Browse the repository at this point in the history
  • Loading branch information
tompesman committed Jul 3, 2012
1 parent 920105a commit bfa5942
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/push/daemon/logger.rb
Expand Up @@ -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)
Expand Down

0 comments on commit bfa5942

Please sign in to comment.