log level fighting

This commit is contained in:
Seth Call 2026-01-13 18:13:10 -06:00
parent b0a4fe331b
commit 1128386b7a
2 changed files with 5 additions and 1 deletions

View File

@ -46,7 +46,8 @@ spec:
- cri: {} - cri: {}
- regex: - regex:
# Capture into a temporary variable 'raw_level' to avoid overwriting existing logic # Capture into a temporary variable 'raw_level' to avoid overwriting existing logic
expression: '\[(?P<raw_level>DEBUG|INFO|WARN|ERROR|LOG|TRACE)\]\s+(?P<message>.*)$' # Matches: [TIMESTAMP] [LEVEL] Message
expression: '^\[.+\]\s+\[(?P<raw_level>DEBUG|INFO|WARN|ERROR|LOG|TRACE)\]\s+(?P<message>.*)$'
- template: - template:
source: level source: level
# If raw_level exists (regex matched), map it. Otherwise, default to 'info'. # If raw_level exists (regex matched), map it. Otherwise, default to 'info'.

View File

@ -82,3 +82,6 @@ loki:
gateway: gateway:
enabled: false enabled: false
lokiCanary:
enabled: false