2 def stderr_log_history(job_uuids)
5 log_history = Log.where(event_type: 'stderr',
6 object_uuid: job_uuids).order('id DESC')
7 if !log_history.results.empty?
8 reversed_results = log_history.results.reverse
9 reversed_results.each do |entry|
10 if entry.andand.properties
11 properties = entry.properties
12 text = properties[:text]
14 results = results.concat text.split("\n")