X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a7256debf497de78acd670c053bcaf2f5600fcaa..304273fabb09ff72e94481a610e84f78776f05e3:/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 bb756a0827..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,12 +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") %>
- -<%# Applying a long throttle suppresses the auto-refresh of this - partial that would normally be triggered by arv-log-event. %> -
- >
+<% 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 %> +