Skip to content

Commit

Permalink
Merge pull request #1115 from manveru/patch-1
Browse files Browse the repository at this point in the history
add LOCOMOTIVE_STEAM_LOG env var
  • Loading branch information
did committed Feb 2, 2016
2 parents 31f5865 + 093767b commit c54d35b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/locomotive/steam_adaptor.rb
Expand Up @@ -52,6 +52,6 @@

Locomotive::Common.reset
Locomotive::Common.configure do |config|
config_file = Rails.root.join('log', 'steam.log')
config_file = ENV['LOCOMOTIVE_STEAM_LOG'] || Rails.root.join('log', 'steam.log')
config.notifier = Locomotive::Common::Logger.setup(config_file.to_s)
end

0 comments on commit c54d35b

Please sign in to comment.