Merge branch '8784-dir-listings'
[arvados.git] / apps / workbench / app / views / jobs / _show_log.html.erb
index 7d67b74210812895347d21d6c08f4ceb15c50db0..b4ede751183206e8259afd6df196f7a368c2bb7e 100644 (file)
@@ -1,3 +1,7 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <% if !@object.log %>
 
 <div id="log_graph_div"
@@ -8,7 +12,8 @@
 <div id="event_log_div"
      class="arv-log-event-listener arv-log-event-handler-append-logs arv-job-log-window"
      data-object-uuid="<%= @object.uuid %>"
-     ></div>
+  ><%= @object.stderr_log_lines(Rails.configuration.running_job_log_records_to_fetch).join("\n") %>
+</div>
 
 <%# Applying a long throttle suppresses the auto-refresh of this
     partial that would normally be triggered by arv-log-event. %>