X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7b9112dbc270ea338fee756f583bb76870f2e391..1a87c77a5cfe200921a9d09e995383bc675e7370:/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 6775cb876c..02ad2b7398 100644
--- a/apps/workbench/app/views/jobs/_show_log.html.erb
+++ b/apps/workbench/app/views/jobs/_show_log.html.erb
@@ -2,14 +2,14 @@
-<% log_history = stderr_log_history([@object.uuid]) %>
-
<%= log_history.join("\n") %>
+ ><%= @object.stderr_log_lines(Rails.configuration.running_job_log_records_to_fetch).join("\n") %>
+
<%# Applying a long throttle suppresses the auto-refresh of this
partial that would normally be triggered by arv-log-event. %>
@@ -17,18 +17,6 @@
data-load-throttle="86486400000" <%# 1001 nights %>
>
-<%= javascript_tag do %>
- window.jobGraphData = [];
- window.jobGraphSeries = [];
- window.jobGraphSortedSeries = [];
- window.jobGraphMaxima = {};
- <% stderr_log_records([@object.uuid],[['properties','~','crunchstat:.*-- interval']])
- .each do |log_record| %>
- processLogLineForChart( '<%=j log_record.properties[:text] %>' );
- <% end %>
- createJobGraph('log_graph_div');
-<% end %>
-
<% else %>