Timestamp session output
parent
a5469fd906
commit
64449d5035
|
@ -80,7 +80,7 @@ class Logging
|
|||
# @return [void]
|
||||
def self.start_session_log(session)
|
||||
if (log_source_registered?(session.log_source) == false)
|
||||
f = Rex::Logging::Sinks::Flatfile.new(
|
||||
f = Rex::Logging::Sinks::TimestampFlatfile.new(
|
||||
Msf::Config.session_log_directory + File::SEPARATOR + "#{session.log_file_name}.log")
|
||||
|
||||
register_log_source(session.log_source, f)
|
||||
|
|
|
@ -41,3 +41,4 @@ end
|
|||
|
||||
require 'rex/logging/sinks/flatfile'
|
||||
require 'rex/logging/sinks/stderr'
|
||||
require 'rex/logging/sinks/timestamp_logfile'
|
||||
|
|
Loading…
Reference in New Issue