Enabling error logging in Kong Gateway
Steps
-
To view error log messages, configure Kong Gateway error logging.
Learn more about log levels in Logging Reference in the Kong Gateway documentation.
For example, in a Docker environment, you can set the environment variable
KONG_PROXY_ERROR_LOG
to/dev/stderr
to send the error log to the container console. -
View the Kong Gateway error log.
For example, in a Docker deployment, you can use the
docker compose logs kong --follow
command.