X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/34173202861e94dee58ccd5b189983918813d870..415cb3b63e8cfafd4c6b92a8971a0cff74097337:/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 2fdb45bdb6..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,6 +1,45 @@ -<% log_history = stderr_log_history([@object.uuid] + pipeline_jobs(@object).collect{|x|x[:job].andand[:uuid]}.compact) %> -
- <% log_history.each do |entry| %> - <%=entry%>
- <% end %> -
+<% 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 %> +