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

# Logging Setup

> Monitor guilds acitivity with xvz logging

## Requirements

* Create atleast <code>1</code> text channel in your guild
* Bot need permissions:
  * send Messages
  * manage Messages
  * view audit logs
  * manage webhooks
  * manage guild invites
  * view channels
  * manage channels
  * attach files

# Setup (first step)

* For fast setup use <code>;log setup</code>

<CodeGroup>
  ```text Synax theme={null}
  ;log add <channel> <categories>
  ```

  ```python example theme={null}
  ;log add #logs all
  ```
</CodeGroup>

# View all the logs events

<CodeGroup>
  ```text Synax theme={null}
  ;log events
  ```

  ```python example theme={null}
  ;log events
  ```
</CodeGroup>

# Ignore a user/channel from the logging

<CodeGroup>
  ```text Synax theme={null}
  ;log ignore add <targets>
  ```

  ```python example theme={null}
  ;log ignore add @.x.xz
  ;log ignore add #chat
  ```
</CodeGroup>

<CodeGroup>
  ```text Synax theme={null}
  ;log ignore remove <targets>
  ```

  ```python example theme={null}
  ;log ignore remove @.x.xz
  ;log ignore remove #chat
  ```
</CodeGroup>

<CodeGroup>
  ```text Synax theme={null}
  ;log ignore list
  ```

  ```python example theme={null}
  ;log ignore list
  ```
</CodeGroup>

# Disable/reset the logging configuration

<CodeGroup>
  ```text Synax theme={null}
  ;log disable
  ```

  ```python example theme={null}
  ;log disable
  ```
</CodeGroup>

## All our events

* channels
* emojis
* invites
* members
* messages
* roles
* voice

If you want to assign all just use <code>all</code>
Put the events after you mentioned a channel (this is very important)
example:

<code>
  ;log add #moderator-only all
</code>

<code>
  ;log add #moderator-only channels
</code>

<code>
  ;log add #moderator-only emojis
</code>

<code>
  ;log add #moderator-only invites
</code>
