PingAuthorize

Enabling error logging in Kong Gateway

Steps

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

    For more information on log levels, see the Kong Gateway Logging Reference documentation.

    Example:

    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.

    Example:

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