Welcome to mirror list, hosted at ThFree Co, Russian Federation.

show.html.haml « logs « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9ddd781c6ec4656e317c43cbb0f3be4d5e48bf88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
%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'
  %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
  .tab-pane.active#githost
    .file_holder#README
      .file_title
        %i.icon-file
        githost.log
        .pull-right
          = link_to '#', class: 'log-bottom' do
            %i.icon-arrow-down
            Scroll down
      .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
        .pull-right
          = link_to '#', class: 'log-bottom' do
            %i.icon-arrow-down
            Scroll down
      .file_content.logs
        %ol
          - Gitlab::AppLogger.read_latest.each do |line|
            %li
              %p= line
  .tab-pane#production
    .file_holder#README
      .file_title
        %i.icon-file
        production.log
        .pull-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
  .tab-pane#sidekiq
    .file_holder#README
      .file_title
        %i.icon-file
        sidekiq.log
        .pull-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