Skip to content

Commit 361057c

Browse files
committed
Land rapid7#4544, resolves rapid7#4511 - fix rails log location
2 parents db36789 + 3ba3465 commit 361057c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/application.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ module Framework
3434
class Application < Rails::Application
3535
include Metasploit::Framework::CommonEngine
3636

37+
config.paths['log'] = "#{Msf::Config.log_directory}/#{Rails.env}.log"
3738
config.paths['config/database'] = [Metasploit::Framework::Database.configurations_pathname.try(:to_path)]
3839
end
3940
end

0 commit comments

Comments
 (0)