Kong AI Gateway emits structured analytics logs for AI plugins through the standard Kong Gateway logging infrastructure. This means AI-specific logs are written to the same locations as other Kong logs, such as /usr/local/kong/logs/error.log
, or to Docker container logs if you’re running in a containerized environment.
Like other Kong logs, AI Gateway logs are subject to the global log level configured via the kong.conf
file or the Admin API. You can control log verbosity by adjusting the log_level
setting (for example, info
, notice
, warn
, error
, crit
) to determine which log entries are captured.
You can also use logging plugins to route these logs to external systems, such as file systems, log aggregators, or monitoring tools.