---
title: "set debug"
canonical: "https://docs.infoblox.com/space/nios86/35758923/set%20debug"
format: markdown
---
The `set`` ``debug`` `command enables and disables debug logging for the NIOS appliance. Debug logging is the most extensive and verbose logging that is available on the appliance. It captures all levels of messaging. The output is written into the debug log file. <span style="color: #111111">For information on how to view this output, see </span>[*<span style="color: #0000ff">show debug</span>*](https://infoblox-docs.atlassian.net/wiki/spaces/nios86/pages/35759266)<span style="color: #111111">.</span>  
Use this command to capture specific occurrences. However, only use it for short periods of time. Do not leave it running for extended periods of time. Due to the amount of data that is captured, leaving this feature running for any length of time can affect the performance of the appliance. For this reason, it is best to use this command during non-peak hours.

> ⚠️ **Note**
> ⚠️ 
> ⚠️ Infoblox recommends that you turn debug logging off, unless Infoblox Support specifically directs you to turn this feature on. If you leave debug logging turned on, it can cause performance issues.

# Syntax

`set debug [distribution|upgrade|firewall|ntp|slog|all] [on|off]`

| **Argument ** | **Description** |
| --- | --- |
| all | Specifies debug logging for all services as enabled or disabled. |
| on | Enables debug logging. |
| off | Disables debug logging. |

# Examples

## Enable debugging

`Infoblox > ``set`` ``debug`` ``all`` ``on`  
` Enabled debug logging for : all`

## Disable debugging

`Infoblox > ``set`` ``debug`` ``all`` ``off`  
` Disabled debug logging for: all `