From abf552fdc514ae275fa5889713a9f6fa30496fd9 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Mon, 9 Nov 2026 06:18:37 +0000 Subject: [PATCH] chore(aisix): default the gateway log level to warn Matches the gateway's new observability.log_level default (api7/aisix#1421). Merge with the chart bump of the release that ships it. --- charts/aisix/README.md | 4 ++-- charts/aisix/values.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/aisix/README.md b/charts/aisix/README.md index dc5d3cf..fa096c6 100644 --- a/charts/aisix/README.md +++ b/charts/aisix/README.md @@ -551,14 +551,14 @@ rejects. New installs set the value in its own key in `values.yaml` or under | config.managed.mtls_dir | string | `"/var/lib/aisix/mtls"` | Directory the materialised mTLS bundle is written to | | config.managed.snapshot_cache_enabled | bool | `false` | Persist a configuration snapshot for recovery while etcd is unreachable. The snapshot holds unencrypted credentials | | config.managed.snapshot_cache_path | string | `nil` | Snapshot location. Null uses `/var/lib/aisix/config_cache.json` | -| config.observability.access_log | bool | `true` | Write an access-log line per request | +| config.observability.access_log | bool | `true` | Write an access-log line per request, whatever the log level | | config.observability.debug.addr | string | `"127.0.0.1:9091"` | Diagnostics listener address. Loopback keeps it off the network | | config.observability.debug.enabled | bool | `true` | Serve the unauthenticated heap-profile endpoint (`/debug/pprof/heap`) | | config.observability.heap_profiling.auto_dump.dir | string | `"/var/lib/aisix/heap"` | Directory the profiles are written to | | config.observability.heap_profiling.auto_dump.enabled | bool | `true` | Write a heap profile as resident memory nears the memory limit | | config.observability.heap_profiling.auto_dump.keep | int | `5` | Newest profiles kept | | config.observability.heap_profiling.auto_dump.thresholds | list | `[0.8,0.9]` | Fractions of the memory limit that each trigger one profile | -| config.observability.log_level | string | `"info"` | Log level: trace, debug, info, warn or error | +| config.observability.log_level | string | `"warn"` | Log level: trace, debug, info, warn or error. Set `info` while diagnosing | | config.observability.metrics.buckets | object | `{"a2a_ttfb":null,"guardrail_latency":null,"request_e2e_latency":null,"request_ttft":null}` | Per-metric histogram bucket edges in seconds. Null keeps that metric's default buckets | | config.observability.metrics.client_type_rules | list | `[]` | User-Agent to `client_type` mapping rules, first match wins, e.g. `[{pattern: "^py-billing-batcher/", client: billing-batcher}]` | | config.observability.metrics.labels | object | `{}` | Complete optional label list per metric, e.g. `{aisix_request_ttft_seconds: [model, provider]}`. Omitted metrics keep their default labels | diff --git a/charts/aisix/values.yaml b/charts/aisix/values.yaml index cbadd61..a9c84d1 100644 --- a/charts/aisix/values.yaml +++ b/charts/aisix/values.yaml @@ -266,9 +266,9 @@ config: observability: # -- Service name reported in telemetry service_name: aisix - # -- Log level: trace, debug, info, warn or error - log_level: info - # -- Write an access-log line per request + # -- Log level: trace, debug, info, warn or error. Set `info` while diagnosing + log_level: warn + # -- Write an access-log line per request, whatever the log level access_log: true metrics: # -- Complete optional label list per metric, e.g.