> For the complete documentation index, see [llms.txt](https://docs.securitybot.gg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.securitybot.gg/other-modules/logs.md).

# Logs

> Security logs all protection events and moderation actions for transparency and auditing.

## What Gets Logged

Security tracks and logs the following events:

### Anti-Nuke Events

| Event              | Description                            |
| ------------------ | -------------------------------------- |
| Limit reached      | User hit their action limit            |
| Punishment applied | User was punished for exceeding limits |
| Trigger activated  | A monitored action was detected        |

### Anti-Raid Events

| Event          | Description                         |
| -------------- | ----------------------------------- |
| Raid detected  | Score threshold was reached         |
| Server locked  | Server was locked due to raid       |
| Users punished | Raiders were automatically punished |

### Beast Mode Events

| Event          | Description                                 |
| -------------- | ------------------------------------------- |
| Beast awakened | Global score limit reached                  |
| User punished  | Someone was punished while beast was active |
| Beast calmed   | Beast Mode deactivated                      |

### Moderation Actions

| Event        | Description        |
| ------------ | ------------------ |
| Ban          | Member was banned  |
| Kick         | Member was kicked  |
| Mute         | Member was muted   |
| Channel lock | Channel was locked |

## Best Practices

* **Review logs regularly** to identify potential threats
* **Check for false positives** when tuning protection settings

## Related

* [Anti-Nuke](/anti-nuke/anti-nuke.md) - View Anti-Nuke triggered events
* [Moderation](/other-modules/moderation.md) - View moderation action logs
* [Premium Features](/premium/premium-features.md) - Extended log retention
