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

# Logging

> Get logged events for your server.

## Overview

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

Adding a logging event 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>

<Frame>
  <img src="https://mintcdn.com/kyos-f3ac1380/GMt74JMihzY5Sc8v/images/logs-add.png?fit=max&auto=format&n=GMt74JMihzY5Sc8v&q=85&s=3fb8325eb6b44ed458922bc2d22282b0" alt="Logs Add" width="669" height="200" data-path="images/logs-add.png" />
</Frame>

## Removing a logging event

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

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

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

<br />

<Frame>
  <img src="https://mintcdn.com/kyos-f3ac1380/GMt74JMihzY5Sc8v/images/logs-remove.png?fit=max&auto=format&n=GMt74JMihzY5Sc8v&q=85&s=bd9bc6f2027b471a892d5fcfed9d6bf6" alt="Logs Remove" width="454" height="157" data-path="images/logs-remove.png" />
</Frame>

## Related commands

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