X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5257d99306e915cc9bb5a65eca81f8517e6e222d..8ed521f7fd1e48e1e415125745ed8c6627a62c91:/apps/workbench/app/views/pipeline_instances/_show_log.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_show_log.html.erb b/apps/workbench/app/views/pipeline_instances/_show_log.html.erb index 2a71aefc49..3a4ec4ead0 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_log.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_log.html.erb @@ -1,9 +1,45 @@ -<% log_uuids = [@object.uuid] + pipeline_jobs(@object).collect{|x|x[:job].andand[:uuid]}.compact %> -<% log_history = stderr_log_history(log_uuids) %> -
<%= log_history.join("\n") %>
-
- >
+<% log_ids = @object.job_log_ids + job_ids = @object.job_ids + still_logging, done_logging = log_ids.keys.partition { |k| log_ids[k].nil? } +%> + +<% unless done_logging.empty? %> + + + + + + + + + + + + + <% done_logging.each do |cname| %> + + + + + <% end %> + +
finished componentjob log
<%= cname %><%= link_to("Log for #{cname}", + job_path(job_ids[cname], anchor: "Log")) + %>
+<% end %> + +<% unless still_logging.empty? %> +

Logs in progress

+ +
<%= @object.stderr_log_lines.join("\n") %>
+ + <%# Applying a long throttle suppresses the auto-refresh of this + partial that would normally be triggered by arv-log-event. %> +
+ >
+<% end %> +