1. To view error log messages, configure Kong Gateway error logging.

    For more information on log levels, see the Kong Gateway Logging Reference 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.

  2. View the Kong Gateway error log.

    For example, in a Docker deployment, you can use the docker-compose logs kong --follow command.