app/models/logical/naf/log_parser/base.rb in naf-2.1.9 vs app/models/logical/naf/log_parser/base.rb in naf-2.1.10
- old
+ new
@@ -92,11 +92,9 @@
parser = Yajl::Parser.new
json = get_json_from_log_file(file)
parser.parse(json) do |log|
if self.class.to_s == 'Logical::Naf::LogParser::Runner'
log['id'] = get_invocation_id(file.scan(UUID_REGEX).first)
- elsif self.class.to_s == 'Logical::Naf::LogParser::Machine'
- log['job_id'] = get_job_id(file)
end
filter_log_messages(log)
end
sort_jsons