summaryrefslogtreecommitdiff
path: root/app/views/admin/logs/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/logs/show.html.haml')
-rw-r--r--app/views/admin/logs/show.html.haml16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/admin/logs/show.html.haml b/app/views/admin/logs/show.html.haml
index 25644d6321a..c8be2ffa43c 100644
--- a/app/views/admin/logs/show.html.haml
+++ b/app/views/admin/logs/show.html.haml
@@ -5,6 +5,8 @@
= link_to "application.log", "#application", 'data-toggle' => 'tab'
%li
= link_to "production.log", "#production", 'data-toggle' => 'tab'
+ %li
+ = link_to "sidekiq.log", "#sidekiq", 'data-toggle' => 'tab'
%p.light To prevent perfomance issues admin logs output the last 2000 lines
.tab-content
@@ -50,3 +52,17 @@
- Gitlab::Logger.read_latest_for('production.log').each do |line|
%li
%p= line
+ .tab-pane#sidekiq
+ .file_holder#README
+ .file_title
+ %i.icon-file
+ sidekiq.log
+ .right
+ = link_to '#', class: 'log-bottom' do
+ %i.icon-arrow-down
+ Scroll down
+ .file_content.logs
+ %ol
+ - Gitlab::Logger.read_latest_for('sidekiq.log').each do |line|
+ %li
+ %p= line