2012-09-11 22:24:53 +02:00
|
|
|
%ul.nav.nav-tabs.log-tabs
|
|
|
|
%li.active
|
|
|
|
= link_to "githost.log", "#githost", 'data-toggle' => 'tab'
|
|
|
|
%li
|
|
|
|
= link_to "application.log", "#application", 'data-toggle' => 'tab'
|
2012-12-19 05:14:05 +01:00
|
|
|
%li
|
|
|
|
= link_to "production.log", "#production", 'data-toggle' => 'tab'
|
2012-11-29 05:49:11 +01:00
|
|
|
|
|
|
|
%p.light To prevent perfomance issues admin logs output the last 2000 lines
|
2012-09-11 22:24:53 +02:00
|
|
|
.tab-content
|
|
|
|
.tab-pane.active#githost
|
|
|
|
.file_holder#README
|
|
|
|
.file_title
|
|
|
|
%i.icon-file
|
|
|
|
githost.log
|
2012-11-29 05:49:11 +01:00
|
|
|
.right
|
|
|
|
= link_to '#', class: 'log-bottom' do
|
|
|
|
%i.icon-arrow-down
|
|
|
|
Scroll down
|
2012-09-11 22:24:53 +02:00
|
|
|
.file_content.logs
|
|
|
|
%ol
|
|
|
|
- Gitlab::GitLogger.read_latest.each do |line|
|
|
|
|
%li
|
|
|
|
%p= line
|
|
|
|
.tab-pane#application
|
|
|
|
.file_holder#README
|
|
|
|
.file_title
|
|
|
|
%i.icon-file
|
|
|
|
application.log
|
2012-11-29 05:49:11 +01:00
|
|
|
.right
|
|
|
|
= link_to '#', class: 'log-bottom' do
|
|
|
|
%i.icon-arrow-down
|
|
|
|
Scroll down
|
2012-09-11 22:24:53 +02:00
|
|
|
.file_content.logs
|
|
|
|
%ol
|
|
|
|
- Gitlab::AppLogger.read_latest.each do |line|
|
|
|
|
%li
|
|
|
|
%p= line
|
2012-12-19 05:14:05 +01:00
|
|
|
.tab-pane#production
|
|
|
|
.file_holder#README
|
|
|
|
.file_title
|
|
|
|
%i.icon-file
|
|
|
|
production.log
|
|
|
|
.right
|
|
|
|
= link_to '#', class: 'log-bottom' do
|
|
|
|
%i.icon-arrow-down
|
|
|
|
Scroll down
|
|
|
|
.file_content.logs
|
|
|
|
%ol
|
|
|
|
- Gitlab::Logger.read_latest_for('production.log').each do |line|
|
|
|
|
%li
|
|
|
|
%p= line
|