Improve admin logs
This commit is contained in:
parent
eb1004f789
commit
ff9a2e2a93
4 changed files with 16 additions and 8 deletions
|
@ -3,12 +3,18 @@
|
|||
= link_to "githost.log", "#githost", 'data-toggle' => 'tab'
|
||||
%li
|
||||
= link_to "application.log", "#application", 'data-toggle' => 'tab'
|
||||
|
||||
%p.light To prevent perfomance issues admin logs output the last 2000 lines
|
||||
.tab-content
|
||||
.tab-pane.active#githost
|
||||
.file_holder#README
|
||||
.file_title
|
||||
%i.icon-file
|
||||
githost.log
|
||||
.right
|
||||
= link_to '#', class: 'log-bottom' do
|
||||
%i.icon-arrow-down
|
||||
Scroll down
|
||||
.file_content.logs
|
||||
%ol
|
||||
- Gitlab::GitLogger.read_latest.each do |line|
|
||||
|
@ -19,6 +25,10 @@
|
|||
.file_title
|
||||
%i.icon-file
|
||||
application.log
|
||||
.right
|
||||
= link_to '#', class: 'log-bottom' do
|
||||
%i.icon-arrow-down
|
||||
Scroll down
|
||||
.file_content.logs
|
||||
%ol
|
||||
- Gitlab::AppLogger.read_latest.each do |line|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue