Repository: traefik/traefik (language: go)

Issue:
Log Level not respected on master
### Welcome!

- [X] Yes, I've searched similar issues on [GitHub](https://github.com/traefik/traefik/issues) and didn't find any.
- [X] Yes, I've searched similar issues on the [Traefik community forum](https://community.traefik.io) and didn't find any.

### What did you do?

I maintain a fork of traefik, which I update periodically. I merged the lastest master branch, which has the new logger. I use log-level warn on my traefik.yml.

### What did you see instead?

I see DBG logs when i explicitly ask for it to not be shown. 


### What version of Traefik are you using?

```
Version:      ec44c7a5d96858d869ba100abedeb859f3155197
Codename:     cheddar
Go version:   go1.19.3
Built:        2022-11-25_07:38:53AM
OS/Arch:      linux/amd64
```

### What is your environment & configuration?

```
log:
  level: warn
```

### If applicable, please paste the log output in DEBUG level

```
2022-11-25T07:49:00Z DBG http: TLS handshake error from <MASKED>:52220: tls: no certificates configured
2022-11-25T07:56:56Z DBG http: TLS handshake error from <MASKED>:51494: tls: no certificates configured
2022-11-25T07:56:56Z DBG http: TLS handshake error from <MASKED>:51495: tls: no certificates configured
2022-11-25T07:56:58Z DBG http: TLS handshake error from <MASKED>:51500: tls: no certificates configured
2022-11-25T07:57:00Z DBG http: TLS handshake error from <MASKED>:51501: tls: no certificates configured
2022-11-25T07:57:05Z DBG http: TLS handshake error from <MASKED>:51502: tls: no certificates configured
```


Discussion / hints:

Fix patch:
diff --git a/cmd/traefik/logger.go b/cmd/traefik/logger.go
index 0c20d2bf0d..27f3191704 100644
--- a/cmd/traefik/logger.go
+++ b/cmd/traefik/logger.go
@@ -27,16 +27,15 @@ func setupLogger(staticConfiguration *static.Configuration) {
 	// configure log level
 	logLevel := getLogLevel(staticConfiguration)
 
-	zerolog.SetGlobalLevel(logLevel)
-
 	// create logger
 	logCtx := zerolog.New(w).With().Timestamp()
 	if logLevel <= zerolog.DebugLevel {
 		logCtx = logCtx.Caller()
 	}
 
-	log.Logger = logCtx.Logger()
+	log.Logger = logCtx.Logger().Level(logLevel)
 	zerolog.DefaultContextLogger = &log.Logger
+	zerolog.SetGlobalLevel(logLevel)
 
 	// Global logrus replacement (related to lib like go-rancher-metadata, docker, etc.)
 	logrus.StandardLogger().Out = logs.NoLevel(log.Logger, zerolog.DebugLevel)


Test patch: