From ac83953884bd9ef153e28daee1e2dc10664e6cd0 Mon Sep 17 00:00:00 2001 From: Marco Lecheler Date: Wed, 16 Oct 2024 09:18:03 +0200 Subject: [PATCH] chore: allow TRACE log level --- traefik/VALUES.md | 2 +- traefik/values.schema.json | 5 +++-- traefik/values.yaml | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/traefik/VALUES.md b/traefik/VALUES.md index 883998fd6..082fda0cc 100644 --- a/traefik/VALUES.md +++ b/traefik/VALUES.md @@ -138,7 +138,7 @@ Kubernetes: `>=1.22.0-0` | logs.access.statuscodes | string | `""` | | | logs.general.filePath | string | `""` | To write the logs into a log file, use the filePath option. | | logs.general.format | string | `nil` | Set [logs format](https://doc.traefik.io/traefik/observability/logs/#format) | -| logs.general.level | string | `"INFO"` | Alternative logging levels are DEBUG, PANIC, FATAL, ERROR, WARN, and INFO. | +| logs.general.level | string | `"INFO"` | Alternative logging levels are TRACE, DEBUG, INFO, WARN, ERROR, FATAL, and PANIC. | | logs.general.noColor | bool | `false` | When set to true and format is common, it disables the colorized output. | | metrics.addInternals | bool | `false` | | | metrics.otlp.addEntryPointsLabels | string | `nil` | Enable metrics on entry points. Default: true | diff --git a/traefik/values.schema.json b/traefik/values.schema.json index 7039c478c..9ead304c7 100644 --- a/traefik/values.schema.json +++ b/traefik/values.schema.json @@ -592,12 +592,13 @@ "level": { "default": "INFO", "enum": [ + "TRACE", + "DEBUG", "INFO", "WARN", "ERROR", "FATAL", - "PANIC", - "DEBUG" + "PANIC" ], "type": "string" }, diff --git a/traefik/values.yaml b/traefik/values.yaml index 9520e03af..9eb011811 100644 --- a/traefik/values.yaml +++ b/traefik/values.yaml @@ -337,8 +337,8 @@ logs: # -- Set [logs format](https://doc.traefik.io/traefik/observability/logs/#format) format: # @schema enum:["common", "json", null]; type:[string, null]; default: "common" # By default, the level is set to INFO. - # -- Alternative logging levels are DEBUG, PANIC, FATAL, ERROR, WARN, and INFO. - level: "INFO" # @schema enum:[INFO,WARN,ERROR,FATAL,PANIC,DEBUG]; default: "INFO" + # -- Alternative logging levels are TRACE, DEBUG, INFO, WARN, ERROR, FATAL, and PANIC. + level: "INFO" # @schema enum:[TRACE,DEBUG,INFO,WARN,ERROR,FATAL,PANIC]; default: "INFO" # -- To write the logs into a log file, use the filePath option. filePath: "" # -- When set to true and format is common, it disables the colorized output.