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

# Logging

> Get logged events for your server.

## Overview

<Tabs />

The logging module allows you to log server events into designated channels. Perhaps useful for keeping informed on what's happening inside your server.

<Info>
  **NOTE:** The available logging events are `mod`, `server`, `member`, and `all`
</Info>

## Adding a logging event

<Tabs />

You can create a logging event using the `logs set` command.

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

  ```javascript Example theme={null}
  ,logs set member #logging
  ```
</CodeGroup>

<br />

<Frame>
  <img src="https://mintcdn.com/kyos-c60486ad/AalZmPvrgh2Es8UR/images/ladd.png?fit=max&auto=format&n=AalZmPvrgh2Es8UR&q=85&s=a8eedcfca4712ad93175c1c52932ef60" width="430" height="130" data-path="images/ladd.png" />
</Frame>

## Removing a logging event

<Tabs />

You can **remove** a logging event using the `logs remove` command.

<Warning>
  This will permanently remove the log from functioning until re-added
</Warning>

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

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

<br />

<Frame>
  <img src="https://mintcdn.com/kyos-c60486ad/AalZmPvrgh2Es8UR/images/lremove.png?fit=max&auto=format&n=AalZmPvrgh2Es8UR&q=85&s=dcb33c3e15809a2a08b26d27f10d448d" width="340" height="126" data-path="images/lremove.png" />
</Frame>

## Related commands

<Info>
  You can use the `logs config` to view all active log channels.
</Info>
