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

# Logging

> Track every action in your server with detailed audit logs.

## Overview

Flare's Logging module uses **Discord Webhooks** to send detailed, formatted log entries to channels of your choice. Each log category can be assigned to a different channel, giving you full control over your audit trail.

### Supported Log Categories

| Category       | What it Tracks                                                |
| -------------- | ------------------------------------------------------------- |
| **Antinuke**   | AntiNuke triggers, bans, and recovery actions                 |
| **AutoMod**    | AutoMod filter triggers and punishments                       |
| **Moderation** | Bans, kicks, mutes, warns, jails by moderators                |
| **Messages**   | Message edits and deletions                                   |
| **Voice**      | Voice channel joins, leaves, moves, mutes, deafens            |
| **Members**    | Member joins, leaves, role changes, nickname changes          |
| **Server**     | Channel creates/deletes, role changes, server setting changes |

***

## Configuration

Run the interactive logging setup panel:

```bash theme={null}
/logs
```

**Aliases:** `logging`, `log`\
**Required Permissions:** `Manage Guild`, `Manage Webhooks`

The panel displays all 7 categories with their current status (enabled/disabled and the assigned channel). Use the dropdown to select a category, then pick a channel to enable it.

<Info>
  Flare creates a **webhook** in the selected channel to deliver logs. This means logs appear with Flare's branding and avatar, and are delivered even if the bot goes temporarily offline (webhooks are queued by Discord).
</Info>

***

## Disabling a Log Category

1. Run `/logs` to open the panel.
2. Select the category you want to disable.
3. Click the **Disable** button.

The webhook for that category will be removed, and Flare will stop sending logs for that event type.

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="Logs aren't appearing in the channel">
    1. Ensure Flare has `Manage Webhooks` in the target channel.
    2. Discord has a limit of 15 webhooks per channel. If the channel is full, delete unused webhooks in Channel Settings > Integrations.
  </Accordion>

  <Accordion title="I see duplicate log entries">
    You may have accidentally assigned the same category twice. Run `/logs` and check if a category has two webhooks. Disable and re-enable it.
  </Accordion>
</AccordionGroup>

## Related Pages

* [Message Logs](/logging/message-logs)
* [Moderation Logs](/logging/moderation-logs)
* [Voice Logs](/logging/voice-logs)
* [Setup Complete Logging Recipe](/recipes/setup-complete-logging)
