Skip to content

Commit

Permalink
Fix loading logfile from shoryuken.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Cantero committed Dec 21, 2016
1 parent 23af4e3 commit cd17fb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/shoryuken/environment_loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def initialize_aws
end

def initialize_logger
Shoryuken::Logging.initialize_logger(options[:logfile]) if options[:logfile]
Shoryuken.logger.level = Logger::DEBUG if options[:verbose]
Shoryuken::Logging.initialize_logger(Shoryuken.options[:logfile]) if Shoryuken.options[:logfile]
Shoryuken.logger.level = Logger::DEBUG if Shoryuken.options[:verbose]
end

def load_rails
Expand Down

0 comments on commit cd17fb1

Please sign in to comment.