24 lines
482 B
Ruby
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')
|