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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-03-23 09:16:39 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-03-23 09:16:39 +0300
commit669a1c319d27a21b1852512272ed93b9283a6121 (patch)
treeed9352de2325bba5e051aef6c38cee067abf21be /lib/gitlab/app_logger.rb
parentad4ef35766b19c084f7762b528981fa95afb0c61 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/app_logger.rb')
-rw-r--r--lib/gitlab/app_logger.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/gitlab/app_logger.rb b/lib/gitlab/app_logger.rb
index 40bdc538594..0d300033dee 100644
--- a/lib/gitlab/app_logger.rb
+++ b/lib/gitlab/app_logger.rb
@@ -2,14 +2,8 @@
module Gitlab
class AppLogger < Gitlab::MultiDestinationLogger
- LOGGERS = [Gitlab::AppTextLogger, Gitlab::AppJsonLogger].freeze
-
def self.loggers
- if Gitlab::Utils.to_boolean(ENV.fetch('UNSTRUCTURED_RAILS_LOG', 'false'))
- LOGGERS
- else
- [Gitlab::AppJsonLogger]
- end
+ [Gitlab::AppJsonLogger]
end
def self.primary_logger