diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-10 10:43:25 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-10 10:43:25 +0400 |
commit | c2982c9a3116f95036d74530f7c20c692cb983d7 (patch) | |
tree | 9064ebfb8e21c5b93a42079dd023657120afd48f /app/views/admin/logs | |
parent | 78698698dc0cef4daa50ef89b10ff6b4352d6fc8 (diff) |
sidekiq.log in admin area. Improved admin dashboard
Diffstat (limited to 'app/views/admin/logs')
-rw-r--r-- | app/views/admin/logs/show.html.haml | 16 |
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 |