hashicorp / vault-helm

Helm chart to install Vault and other associated components.
Mozilla Public License 2.0
1.07k stars 873 forks source link

helm value server.logLevel does not set the log level but just logs all entries using this value #994

Open fvogl opened 8 months ago

fvogl commented 8 months ago

Tried to make the Vault server less chatty by reducing the log level to warn, but instead of logging less entries, the very same entries are logged now with level warn instead of info. Tried the same with error with same result.

Example log entry

{
  "@level": "error",
  "@message": "completed_request",
  "@module": "core",
  "@timestamp": "2024-01-23T08:59:05.550149Z",
  "client_address": "172.16.14.48:60886",
  "client_id": "",
  "duration": "1ms",
  "request_method": "GET",
  "request_path": "/v1/brix/data/engine",
  "start_time": "2024-01-23T08:59:05Z",
  "status_code": 200
}

The helm value injector.logLevel works as expected though.

Vault version: 1.15.2 Chart version: 0.27.0