> For the complete documentation index, see [llms.txt](https://docs.asagi.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.asagi.xyz/server-control/moderation/audit-logs.md).

# Audit Logs

Audit Logs sends selected server events to channels you choose, giving your staff a readable history of changes and activity.

Everything on this page is configured from **Dashboard → Server Control → Moderation → Audit Logging**.

### Set Up Audit Logs

1. Open **Moderation** and select **Audit Logging**.
2. Enable the events you want to track.
3. Open the settings for that event category.
4. Choose a **Channel** for every enabled event.
5. Configure **Bot actions** where the option is available.
6. Save your changes.

An enabled event needs a destination channel before the settings can be saved.

> 🎬 **Set up Audit Logs**
>
> See how to enable a group of events and send its logs to a dedicated channel.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hy8ldYgZJ9GQJFAuYLR%2Fuploads%2F4aR4tNmnlNIkIWwBcJE4%2Faudit%20logging%20set%20up.mp4?alt=media&token=d201c000-f194-49e8-bec0-b36b21823b96>" %}

> 🖼️ **Audit log example**
>
> A configured event is recorded in the selected Discord channel.

<figure><img src="https://3927572991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hy8ldYgZJ9GQJFAuYLR%2Fuploads%2Fn9avVgj9IZmHq4JsZ7LO%2Faudit_channel_events_padded_lossless.webp?alt=media&amp;token=ab281f03-9253-4d54-b25c-f8c3c1204f8d" alt="" width="283"><figcaption></figcaption></figure>

### Available Event Categories

| Category       | Events                                                                                                                                          |
| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| **Channels**   | Channel Settings Updated, Channel Created, Channel Deleted, All Channel Events                                                                  |
| **Members**    | Member Joined Server, Member Profile or Roles Updated, Member Left Server, All Member Events                                                    |
| **Messages**   | Message Edited, Message Deleted, Bulk Message Deletion, All Message Events                                                                      |
| **Polls**      | Poll Created, Poll Deleted, Poll Finalized, Poll Votes Added, Poll Votes Removed, All Poll Events                                               |
| **Soundboard** | Sound Upload, Name Update, Volume Update, Emoji Update, Sound Delete, All Soundboard Events                                                     |
| **Stage**      | Stage Start, Stage End, Stage Topic Update, All Stage Events                                                                                    |
| **Roles**      | Role Settings Updated, Role Created, Role Deleted, All Role Events                                                                              |
| **Voices**     | Member Joined Voice Channel, Member Left Voice Channel, Member Moved Between Voice Channels, Voice Channel Reached User Limit, All Voice Events |
| **Other**      | Anonymous Message Moderation Actions                                                                                                            |

### All Events vs Individual Events

Most categories include an **All ... Events** option.

Use it when every event in that category should go to the same channel with the same settings. When **All ... Events** is enabled, the individual events in that category are disabled to avoid duplicate logging.

Use individual events instead when you want different destinations or behavior for specific event types.

### Bot Actions

Some Audit Log events include a **Bot actions** option.

When enabled, the log can include matching actions performed by bots. When disabled, bot-executed actions are skipped for that event.

This option is only shown for events where it is supported.

### Channels

Each enabled event has its own destination channel. You can select an existing text or announcement channel or create a new one from the selector.

If an enabled event shows **Setup required**, open that category and choose its destination channel before saving.

### Troubleshooting

If logs stop appearing, make sure the configured channel still exists and Asagi can view it and send messages there.

If you recently changed channel permissions, restore the required access or choose another log channel.

### Where to Go Next

Continue with [**Interactive Messages**](https://docs.asagi.xyz/server-control/interactive-messages.md) to build messages with buttons, select menus, and actions.
