From 1fa28dfacdceecf3d06bb89cd6d77e3cd1feb1e8 Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Mon, 12 Sep 2022 16:55:59 +0300 Subject: [PATCH] [#702] Init app settings Signed-off-by: Denis Kirillov --- cmd/s3-gw/app.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/s3-gw/app.go b/cmd/s3-gw/app.go index d8e241332..e7531d581 100644 --- a/cmd/s3-gw/app.go +++ b/cmd/s3-gw/app.go @@ -230,6 +230,7 @@ func newApp(ctx context.Context, log *Logger, v *viper.Viper) *App { wrkDone: make(chan struct{}, 1), maxClients: api.NewMaxClientsMiddleware(maxClientsCount, maxClientsDeadline), + settings: &appSettings{LogLevel: log.lvl}, } app.initMetrics()