diff --git a/lib/locomotive/steam_adaptor.rb b/lib/locomotive/steam_adaptor.rb index ee6f286a4c..625edd9bb1 100644 --- a/lib/locomotive/steam_adaptor.rb +++ b/lib/locomotive/steam_adaptor.rb @@ -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