diff options
author | Sami Hiltunen <shiltunen@gitlab.com> | 2021-02-11 20:47:39 +0300 |
---|---|---|
committer | Sami Hiltunen <shiltunen@gitlab.com> | 2021-02-11 20:49:37 +0300 |
commit | eb182fcc6da026258eb6a48cede4956748ed54d3 (patch) | |
tree | 988f3cfe992a052022374c69719aba98e5e07bd4 /internal/praefect/server.go | |
parent | f38ab4f49c00e3a71ab4075fd12bb7bdce0e5d22 (diff) |
disable feature flag logging
Due to concerns about the feature flags growing log sizes quite a
lot, this commit removes the feature flag logging interceptor.
Diffstat (limited to 'internal/praefect/server.go')
-rw-r--r-- | internal/praefect/server.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/praefect/server.go b/internal/praefect/server.go index dabac9dd3..c15859c9b 100644 --- a/internal/praefect/server.go +++ b/internal/praefect/server.go @@ -13,7 +13,6 @@ import ( "gitlab.com/gitlab-org/gitaly/internal/gitaly/server/auth" "gitlab.com/gitlab-org/gitaly/internal/helper/fieldextractors" "gitlab.com/gitlab-org/gitaly/internal/middleware/cancelhandler" - "gitlab.com/gitlab-org/gitaly/internal/middleware/featureflag" "gitlab.com/gitlab-org/gitaly/internal/middleware/metadatahandler" "gitlab.com/gitlab-org/gitaly/internal/middleware/panichandler" "gitlab.com/gitlab-org/gitaly/internal/middleware/sentryhandler" @@ -61,7 +60,6 @@ func NewGRPCServer( metadatahandler.StreamInterceptor, grpc_prometheus.StreamServerInterceptor, grpc_logrus.StreamServerInterceptor(logger), - featureflag.StreamInterceptor, sentryhandler.StreamLogHandler, cancelhandler.Stream, // Should be below LogHandler grpctracing.StreamServerTracingInterceptor(), @@ -85,7 +83,6 @@ func NewGRPCServer( metadatahandler.UnaryInterceptor, grpc_prometheus.UnaryServerInterceptor, grpc_logrus.UnaryServerInterceptor(logger), - featureflag.UnaryInterceptor, sentryhandler.UnaryLogHandler, cancelhandler.Unary, // Should be below LogHandler grpctracing.UnaryServerTracingInterceptor(), |