---
schema_version: "1"
id: 7a8d8427488caabc6ad341e5f96e2c179e312947f33b8254e6187f620904a87e
title: Troubleshooting Self-Managed Gateway with Debug Logs
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/gateway/latest/troubleshoot-debug-logs.md
canonical_url: https://docs.mulesoft.com/gateway/latest/troubleshoot-debug-logs
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 9f4e9709f271d6ad658a46424d30da2ef624fa20778184f7a7a3fd0727372d82
description: MuleSoft Documentation Site
release: "1.14"
latest: true
---
---
product: Omni Gateway
version: 1.14
is-latest-version: true
---

# Troubleshooting Self-Managed Gateway with Debug Logs

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

When troubleshooting Omni Gateway, set the runtime log level to `debug` for more verbose runtime
logs.

This page explains how to configure debug runtime logs. To configure debug access logs, set the
`level` parameter in your [Message Logging policy](https://docs.mulesoft.com/gateway/latest/policies-included-message-logging) to `DEBUG`.

## Debug Logs Configuration Example

For both Connected Mode and Local Mode, configure debug runtime logs using the following YAML
configuration file:

```yaml
apiVersion: gateway.mulesoft.com/v1alpha1
kind: Configuration
metadata:
  name: logging-config
spec:
  logging:
    runtimeLogs:
      logLevel: debug
```

To configure debug runtime logs, use the previous YAML configuration file when prompted for your
configuration details in the following tutorials:

- [Configure External Logs in Connected Mode](https://docs.mulesoft.com/gateway/latest/conn-third-party-logs-config)

- [Configure External Logs in Local Mode](https://docs.mulesoft.com/gateway/latest/local-third-party-logs-config)

If you have already configured a logging configuration file, set `logging.runtimeLogs.logLevel` to
`debug` in you current file to enable debug runtime logs. This does not affect the log output
location or access logs.

## See Also

To view runtime log output, see:

- [Viewing Runtime Logs in Runtime Manager in Connected Mode](https://docs.mulesoft.com/gateway/latest/view-logs-in-runtime-manager)

- [Viewing Standard Output Logs](https://docs.mulesoft.com/gateway/latest/local-view-logs)

- [Known Issues](https://help.salesforce.com/s/issues)
