> For the complete documentation index, see [llms.txt](https://bad-word-blocker.gitbook.io/bad-word-blocker-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bad-word-blocker.gitbook.io/bad-word-blocker-docs/logs/log-when-message-blocked.md).

# Log when Message Blocked

It is possible to make Bad Word Blocker send a message in a channel each time it detects a blacklisted item.

The message will serve as a "log" of the occurrence. &#x20;

## Setting a Log Channel

{% hint style="success" %}
Only people with `Manage Messages` or `Administrator` permission can set the log channe
{% endhint %}

1. Navigate to your Discord server
2. In any channel, type in `/log set`     &#x20;
3. Enter the desired channel in the input box
4. Hit the Enter button if you're on computer. If you're on mobile, hit the send button

## Viewing or Removing the Current Log Channel

{% hint style="success" %}
Only people with `Manage Messages` or `Administrator` permission can view or remove the log channel
{% endhint %}

1. Navigate to your Discord server
2. In any channel, type in `/log manage`     &#x20;
3. The current log channel (or lack of) should be shown.
4. If you want to remove current log channel, hit the `Remove` button. If pressed, the channel will longer receive logs.
