Timestamp session output

bug/bundler_fix
Meatballs 2015-06-19 21:50:42 +01:00
parent a5469fd906
commit 64449d5035
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
2 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class Logging
# @return [void] # @return [void]
def self.start_session_log(session) def self.start_session_log(session)
if (log_source_registered?(session.log_source) == false) 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") Msf::Config.session_log_directory + File::SEPARATOR + "#{session.log_file_name}.log")
register_log_source(session.log_source, f) register_log_source(session.log_source, f)

View File

@ -41,3 +41,4 @@ end
require 'rex/logging/sinks/flatfile' require 'rex/logging/sinks/flatfile'
require 'rex/logging/sinks/stderr' require 'rex/logging/sinks/stderr'
require 'rex/logging/sinks/timestamp_logfile'