X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e9a19734c359fa52ec07a3ea4bb81b6382864596..722fbc71928e7fc6b91eb101788b51c2bb9577eb:/apps/workbench/app/views/jobs/_show_log.html.erb diff --git a/apps/workbench/app/views/jobs/_show_log.html.erb b/apps/workbench/app/views/jobs/_show_log.html.erb index 64cd96a0f8..10b7fa1c4e 100644 --- a/apps/workbench/app/views/jobs/_show_log.html.erb +++ b/apps/workbench/app/views/jobs/_show_log.html.erb @@ -1,15 +1,19 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% if !@object.log %> -<% log_history = stderr_log_history([@object.uuid]) %> - -
<%= log_history.join("\n") %>
+ ><%= @object.stderr_log_lines(Rails.configuration.Workbench.RunningJobLogRecordsToFetch).join("\n") %> + <%# Applying a long throttle suppresses the auto-refresh of this partial that would normally be triggered by arv-log-event. %> @@ -17,15 +21,6 @@ data-load-throttle="86486400000" <%# 1001 nights %> > -<%= javascript_tag do %> - window.jobGraphData = []; - window.jobGraphSeries = []; - window.jobGraphSortedSeries = []; - window.jobGraphMaxima = {}; - $.get('<%= push_logs_job_path(@object) %>'); - createJobGraph('log_graph_div'); -<% end %> - <% else %>