Commit a4b3723e authored by Aakriti Gupta's avatar Aakriti Gupta

Add structured app logs to admin/logs

parent be711a8d
...@@ -10,7 +10,7 @@ class Admin::LogsController < Admin::ApplicationController ...@@ -10,7 +10,7 @@ class Admin::LogsController < Admin::ApplicationController
def loggers def loggers
@loggers ||= [ @loggers ||= [
Gitlab::AppLogger, Gitlab::AppJsonLogger,
Gitlab::GitLogger, Gitlab::GitLogger,
Gitlab::EnvironmentLogger, Gitlab::EnvironmentLogger,
Gitlab::SidekiqLogger, Gitlab::SidekiqLogger,
......
---
title: Replace unstructured application logs with structured (JSON) application logs in the admin interface
merge_request: 24614
author:
type: other
...@@ -10,7 +10,7 @@ describe 'Admin browses logs' do ...@@ -10,7 +10,7 @@ describe 'Admin browses logs' do
it 'shows available log files' do it 'shows available log files' do
visit admin_logs_path visit admin_logs_path
expect(page).to have_link 'application.log' expect(page).to have_link 'application_json.log'
expect(page).to have_link 'git_json.log' expect(page).to have_link 'git_json.log'
expect(page).to have_link 'test.log' expect(page).to have_link 'test.log'
expect(page).to have_link 'sidekiq.log' expect(page).to have_link 'sidekiq.log'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment