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

# Logging

> Log events in your server.

## Overview

Logging lets you send server event logs to one or more channels. This is useful for moderation, auditing, and keeping track of activity.

## Available logging events

<Info>
  Available logging events are `messages`, `member`, `roles`, `channels`, `invites`, `emojis`, and `voice`.
</Info>

<Warning>
  Do not delete the webhook that Omex creates in your logging channels — logs are delivered through it.
</Warning>

<Tip>
  You can configure up to **3** log channels per server, and each channel can be set to **one** event type (or `all`).
</Tip>

***

## View current logging setup

Use this to see what logging channel(s) and events are currently configured.

<CodeGroup>
  ```javascript Syntax theme={null}
  ,logs
  ```
</CodeGroup>

***

## Adding a logging event

You can enable logging in a channel using the `logs set` command.

<CodeGroup>
  ```javascript Syntax theme={null}
  ,logs set (channel) (event | all)
  ```

  ```javascript Example theme={null}
  ,logs set #logs messages
  ,logs set #member-logs member
  ,logs set #everything all
  ```
</CodeGroup>

<br />

<Frame>
  <img src="https://mintcdn.com/omex/7E0oXLORg-b4q_wt/images/configuration/add.png?fit=max&auto=format&n=7E0oXLORg-b4q_wt&q=85&s=ec620e5c6e302a8bc4381453f04ba65a" width="497" height="248" data-path="images/configuration/add.png" />
</Frame>

<br />

<Frame>
  <img src="https://mintcdn.com/omex/7E0oXLORg-b4q_wt/images/configuration/example.png?fit=max&auto=format&n=7E0oXLORg-b4q_wt&q=85&s=f3cf6771f0eb575f46d60efe29ab56cb" width="488" height="238" data-path="images/configuration/example.png" />
</Frame>

***

## Removing a logging event

You can remove logging using the `logs remove` command.

<CodeGroup>
  ```javascript Syntax theme={null}
  ,logs remove (event | all)
  ```

  ```javascript Example theme={null}
  ,logs remove messages
  ,logs remove all
  ```
</CodeGroup>

<br />

<Frame>
  <img src="https://mintcdn.com/omex/7E0oXLORg-b4q_wt/images/configuration/remove.png?fit=max&auto=format&n=7E0oXLORg-b4q_wt&q=85&s=e0e4f9af84a0d865e6d042658ce801cf" width="522" height="158" data-path="images/configuration/remove.png" />
</Frame>

<Tip>
  If you leave the event parameter empty (or use `all`), logging will be fully disabled for the server.
</Tip>

***

## Ignoring a member or channel

You can ignore a user or channel so their activity won’t be logged.

<CodeGroup>
  ```javascript Syntax theme={null}
  ,logs ignore (member | channel | voice channel)
  ```

  ```javascript Example theme={null}
  ,logs ignore @Aj
  ,logs ignore #staff-chat
  ```
</CodeGroup>

***

## Unignoring a member or channel

Remove a user/channel from the ignore list so they will be logged again.

<CodeGroup>
  ```javascript Syntax theme={null}
  ,logs unignore (member | channel | voice channel)
  ```

  ```javascript Example theme={null}
  ,logs unignore @Aj
  ,logs unignore #staff-chat
  ```
</CodeGroup>

***

## Viewing ignored targets

<Info>
  Use the `logs ignored` command to view all ignored members and channels.
</Info>

<CodeGroup>
  ```javascript Syntax theme={null}
  ,logs ignored
  ```
</CodeGroup>
