diff options
author | Stan Hu <stanhu@gmail.com> | 2018-11-27 16:51:34 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-11-27 16:51:34 +0000 |
commit | 681d7139a995a8d2e299c567d45c03221f89fd6f (patch) | |
tree | 2dda494cdd5d9ac0d24ea9325dadd956e16db0db /lib | |
parent | 17acf40dc98f05a476176dbd0b5da813be39b909 (diff) | |
parent | 7e7fb6deba4e58b4dbbb21a8e859327cebd109d1 (diff) | |
download | gitlab-ce-681d7139a995a8d2e299c567d45c03221f89fd6f.tar.gz |
Merge branch 'json-logging-for-k8s' into 'master'
Json logging for k8s Integration
See merge request gitlab-org/gitlab-ce!23328
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/kubernetes/logger.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/gitlab/kubernetes/logger.rb b/lib/gitlab/kubernetes/logger.rb new file mode 100644 index 00000000000..5e59482419b --- /dev/null +++ b/lib/gitlab/kubernetes/logger.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Gitlab + module Kubernetes + class Logger < ::Gitlab::JsonLogger + def self.file_name_noext + 'kubernetes' + end + end + end +end |