Chore: Remove unifiedReqeustLog feature flag (#115559)

Chore: Remove unifiedReqeustLog feature flag
This commit is contained in:
Tania
2025-12-19 09:55:47 +01:00
committed by GitHub
parent 99f5f14de7
commit 7360194ab9
7 changed files with 3 additions and 23 deletions
+1 -4
View File
@@ -64,10 +64,7 @@ func (l *loggerImpl) Middleware() web.Middleware {
// put the start time on context so we can measure it later.
r = r.WithContext(log.InitstartTime(r.Context(), time.Now()))
//nolint:staticcheck // not yet migrated to OpenFeature
if l.flags.IsEnabled(r.Context(), featuremgmt.FlagUnifiedRequestLog) {
r = r.WithContext(errutil.SetUnifiedLogging(r.Context()))
}
r = r.WithContext(errutil.SetUnifiedLogging(r.Context()))
rw := web.Rw(w, r)
next.ServeHTTP(rw, r)