Repository: traefik/traefik (language: go)

Issue:
logs.compress integer or boolean?
### 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?

Hi, I check there is a new log.compress section on docs
https://doc.traefik.io/traefik/observability/logs/#compress

But when trying to use with the suggested value `3` I got error
```
command traefik error: strconv.ParseBool: parsing \"3\": invalid syntax
```

But if I set it to boolean it works fine...

Im wondering if is it the correct log section, maybe I missed something or is it a bug.

### What did you see instead?

Docs mention boolean or compress leveling working

### What version of Traefik are you using?

Version:      3.0.0
Codename:     beaufort
Go version:   go1.22.2
Built:        2024-04-29T14:25:59Z
OS/Arch:      linux/amd64

### What is your environment & configuration?

```yaml
log:
  filePath: /var/log/traefik/traefik.log
  compress: 3
```

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

```
{"level":"error","error":"command traefik error: strconv.ParseBool: parsing \"3\": invalid syntax","time":"2024-05-13T12:16:27Z","message":"Command error"}
```


Discussion / hints:

Fix patch:
diff --git a/docs/content/observability/logs.md b/docs/content/observability/logs.md
index 5e22aa64da..2009aeee7f 100644
--- a/docs/content/observability/logs.md
+++ b/docs/content/observability/logs.md
@@ -169,14 +169,14 @@ The default is not to perform compression.
 
 ```yaml tab="File (YAML)"
 log:
-  compress: 3
+  compress: true
 ```
 
 ```toml tab="File (TOML)"
 [log]
-  compress = 3
+  compress = true
 ```
 
 ```bash tab="CLI"
---log.compress=3
+--log.compress=true
 ```


Test patch: