diff options
Diffstat (limited to 'lib/gitlab/database/health_status/logger.rb')
-rw-r--r-- | lib/gitlab/database/health_status/logger.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/gitlab/database/health_status/logger.rb b/lib/gitlab/database/health_status/logger.rb new file mode 100644 index 00000000000..820c1aeb695 --- /dev/null +++ b/lib/gitlab/database/health_status/logger.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Gitlab + module Database + module HealthStatus + class Logger < ::Gitlab::JsonLogger + exclude_context! + + def self.file_name_noext + 'database_health_status' + end + end + end + end +end |