> For the complete documentation index, see [llms.txt](https://docs.sxbot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sxbot.io/moderation-logging/setup-logging.md).

# Setup Logging

Sx Bot offers a wide variety of unique moderation logging for your server including message logs, reaction logs, image logs, invite logs, booster logs, user join/leave logs, and more!

## Set up your log channel

**1.** Create a channel for logs if you haven't already.

&#x20;**2.** Set the channel for the given logging module.\
**Example:`/logging message-logs set #message-logs`**\
**Example:`/logging images-logs set #images-logs`**\
**Example:`/logging reaction-logs set #reactions-logs`**

{% hint style="info" %}
If you type **`/logging help`** you can see a list of all the current supported logging modules.
{% endhint %}

**3.** Edit your channel's settings, and go to the "Permissions" tab.

**4.** From the "Roles/Members" selection, add Sx Bot.&#x20;

**5.** Allow Sx Bot to have the following permissions in the channel:

* View Channel
* Send Messages
* Embed Links
* Attach Files
* Use External Emoji

You can also use the built-in help guide the bot offers by using **`/logging help`** as seen below.

<figure><img src="/files/47rzMIwovdbePExJ0UrA" alt=""><figcaption><p>/logging help</p></figcaption></figure>
