---
title: Enabling error logging in Kong Gateway
description: To view error log messages, configure Kong Gateway error logging.
component: pingauthorize
version: 10.1
page_id: pingauthorize:pingauthorize_integrations:paz_kong_error_log
canonical_url: https://docs.pingidentity.com/pingauthorize/10.1/pingauthorize_integrations/paz_kong_error_log.html
revdate: August 29, 2025
section_ids:
  steps: Steps
---

# Enabling error logging in Kong Gateway

## Steps

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

   Learn more about log levels in [Logging Reference](https://docs.konghq.com/gateway/2.8.x/configure/logging/) 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.

2. View the Kong Gateway error log.

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