> For the complete documentation index, see [llms.txt](https://invomagic.gitbook.io/ticketsdocs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://invomagic.gitbook.io/ticketsdocs/logging/message-logging.md).

# Message Logging

{% hint style="success" %}
We're working on Quick Actions, they're just not ready yet, these will allow you to ban/timeout/kick directly from logs.
{% endhint %}

## Setup

To setup Tickets's Message Logging you simply run `/logging channel`\
After this Tickets will start tracking all message edits and deletions and log them

<figure><img src="/files/phkhlmQPG6mUjRkaCElA" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/QmooYi5J3aF9pM6SE1s5" alt=""><figcaption></figcaption></figure>

## Disable Logging

To disable logging run the command above but select the "disable-logging" option and set it to true\
After this, Tickets will no longer log messages

## Logs

Logging examples are found below

{% tabs %}
{% tab title="Edit Logs" %}

<figure><img src="/files/p14jd7VvFi1eeB60CiJU" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Deleted Logs" %}

<figure><img src="/files/k5xtWk1OweBRrdOGSzVg" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Deleted Attachment Logs" %}

<figure><img src="/files/XsUKVYq5URtsvcU0YEBM" alt="" width="563"><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

## Customize Log Messages

{% hint style="warning" %}
This is a [TicketsPRO](/ticketsdocs/pro/about.md) Feature, you need time on a TicketsPRO Subscription to use it.
{% endhint %}

You can customize your Message Logs using `/logging customize` \
After this you'll be presented with a customizer

<figure><img src="/files/xsHeaY1alRAenJ3odR5x" alt="" width="563"><figcaption></figcaption></figure>

Simply select either of these, submitting the form will auto update and save them, Colors require a Hex code, if you don't know what that is you may generate that [here](https://share.google/emCxUokRFf2GKy3Ur)&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://invomagic.gitbook.io/ticketsdocs/logging/message-logging.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
