debian-mirror-gitlab/app/controllers/admin/logs_controller.rb
2020-03-09 13:42:32 +05:30

24 lines
482 B
Ruby

# frozen_string_literal: true
class Admin::LogsController < Admin::ApplicationController
before_action :loggers
def show
end
private
def loggers
@loggers ||= [
Gitlab::AppJsonLogger,
Gitlab::GitLogger,
Gitlab::EnvironmentLogger,
Gitlab::SidekiqLogger,
Gitlab::RepositoryCheckLogger,
Gitlab::ProjectServiceLogger,
Gitlab::Kubernetes::Logger
]
end
end
Admin::LogsController.prepend_if_ee('EE::Admin::LogsController')