---
schema_version: "1"
id: 1c4a856b9e43fe5c089b87332fa8952331caec40677202027ab323384db8de9f
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/1.13/troubleshoot-debug-logs.md
canonical_url: https://docs.mulesoft.com/gateway/1.13/troubleshoot-debug-logs
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 62a53cbfbcd117d594cb54e147193b3e71c2923bf8a8b2470a71c458d62dbce0
description: MuleSoft Documentation Site
release: "1.13"
latest: false
---
---
product: Omni Gateway
version: 1.13
---

# 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/1.13/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/1.13/conn-third-party-logs-config)

- [Configure External Logs in Local Mode](https://docs.mulesoft.com/gateway/1.13/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/1.13/view-logs-in-runtime-manager)

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

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