> ## Documentation Index
> Fetch the complete documentation index at: https://docs.utilbot.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Log

## Description

Manages the Log feature. Logging channels can each be configured with their own set of event types to log.

## Permission

`ADMINISTRATOR`

***

## Channels: List

```txt theme={null}
/log channels list
```

Lists all channels currently configured for logging.

| Name | Type | Description | Sample Data |
| - | - | - | - |
| | | | None |

***

## Channels: Add

```txt theme={null}
/log channels add <channel>
```

Adds a channel for logging. After adding it, select the event types to log for that channel.

This only works while the bot has the **View Audit Log** permission. Most log types need it to show who performed an action, and some would not be logged at all without it.

| Name | Type | Description | Sample Data |
| - | - | - | - |
| channel | Channel (Text/News) | The channel to add | #logs |

***

## Channels: Edit

```txt theme={null}
/log channels edit <channel>
```

Edits which event types are logged to an already configured channel. Like adding a channel, this only works while the bot has the **View Audit Log** permission.

| Name | Type | Description | Sample Data |
| - | - | - | - |
| channel | Channel (Text/News) | The channel to edit | #logs |

***

## Channels: Remove

```txt theme={null}
/log channels remove <channel>
```

Removes a channel from logging.

| Name | Type | Description | Sample Data |
| - | - | - | - |
| channel | Channel (Text/News) | The channel to remove | #logs |

***

## Ignore: Add / Remove User

```txt theme={null}
/log ignore add-user <user>
/log ignore remove-user <user>
```

Adds or removes a user from the ignore list, so their actions are not logged.

The ignore list (users and channels) is used by the new server log, which is rolling out to servers gradually.

| Name | Type | Description | Sample Data |
| - | - | - | - |
| user | User | The user to ignore / stop ignoring | @HerrTxbias |

***

## Ignore: Add / Remove Channel

```txt theme={null}
/log ignore add-channel <channel>
/log ignore remove-channel <channel>
```

Adds or removes a channel from the ignore list, so events in it are not logged.

| Name | Type | Description | Sample Data |
| - | - | - | - |
| channel | Channel | The channel to ignore / stop ignoring | #bot-spam |

***

## Log Event Types

When adding or editing a logging channel, you can select any combination of the following event types:

* Channel Changes
* Member Join / Leave
* Member Role Changes
* Message Logs
* Message Logs (Detailed)
* Misc
* Moderation Actions
* Auto Moderation Actions
* Name Changes
* Role Changes
* Thread Logs
* Thread Logs (Detailed)
* Voice Changes
* Voice Changes (Detailed)
* Future Types (new event types are added to this channel automatically)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.