- name: KONG_LOG_LEVEL value: debugIf you deploy with helm, you can add log_level under env as below
env: log_level: debug
Once the changes are made, please remember to reload/restart Kong. For Kubernetes, please remember to apply deployment file or upgrade your helm release to bring up a new pod with this configuration.
Dynamically:
From Kong Gateway 3.1.x.x and above, Dynamic Log Levels have been introduced to allow log levels to be increased and decreased without the need to restart Kong.
Caveat: Cannot work in DBLess mode as there is no admin-api available.
For more details, please review the documentation:
https://docs.konghq.com/gateway/latest/production/logging/update-log-level-dynamically/