only set log_level in the Metasploit Framework context
when including framework as a gem, this app is undefined MS-1518bug/bundler_fix
parent
c9dd863085
commit
39cc1fee1c
|
@ -1,3 +1,5 @@
|
|||
Metasploit::Framework::Application.configure do
|
||||
config.log_level = :info
|
||||
if defined? Metasploit::Framework::Application
|
||||
Metasploit::Framework::Application.configure do
|
||||
config.log_level = :info
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue