Safety
Logging
Message edits and deletes, joins and leaves, role and nickname changes.
On this page
Logging records what happens in your server: edited and deleted messages, joins and leaves, role and nickname changes, bans and kicks, changes to channels, roles and invites, and voice activity. Everything shows up in the dashboard's activity log, and each category can also be posted to a channel. Logging starts off.
Set it up
- Open the dashboard, pick your server, then Logging.
- Turn on the categories you want. For each one, pick a channel to post it in, or leave the channel empty to keep it in the dashboard only.
- Optional: choose Ignored channels and Ignored roles, and decide whether to Ignore bots.
- Click Save, then turn the module on with the switch at the top of the page.
A private staff channel works well for logs. You can send every category to the same channel or split them up.
How it works
What gets logged
| Category | Events | Starts |
|---|---|---|
| Messages | Edits (before and after), deletes with any attachments, and bulk deletes | On |
| Members | Joins (with account age), leaves (with the roles they had), nickname and role changes, timeouts given and removed | On |
| Moderation | Bans, unbans and kicks, with who did it and why | On |
| Server | Channels, roles and invites being created, changed or deleted | On |
| Voice | Members joining, leaving and moving between voice channels | Off |
Message text is shortened to 1,000 characters. Keystone can only show the text of a deleted message if it saw the message being sent, so messages from before Keystone joined or restarted show without their text.
Who did it
For bans, kicks, deletes, role changes and server changes, Keystone checks the server's audit log to show who made the change. That needs View Audit Log.
Busy moments
When lots of events arrive at once, like a wave of joins during a raid, Keystone combines them into fewer posts instead of flooding the channel.
Ignoring noise
- Ignore bots (on by default) skips messages, member updates and voice activity from bots and webhooks. Bots being added, and moderation actions, are still logged.
- Ignored channels skips messages and voice activity in those channels and their threads.
- Ignored roles skips members with any of those roles.
The activity log
The Activity tab on the Logging page lists everything Keystone has logged in your server, newest first, and can be filtered by category or event type. It keeps 7 days on the free plan and 90 days on Premium; older entries are deleted automatically. Posts in your log channels stay until you delete them.
Permissions
Keystone needs View Audit Log to show who made a change, and View Channel, Send Messages and Embed Links in each log channel. It can only log messages in channels it can see (View Channel).
Limits
| Per server | Free | Premium |
|---|---|---|
| Log history | 7 days | 90 days |
Troubleshooting
Nothing is being logged
Check that the Logging module is on and the category is turned on. If a channel is set, Keystone needs View Channel, Send Messages and Embed Links there; the dashboard flags it when it can't post.
Deleted messages show without their text
Keystone only knows a message's text if it saw it being sent. Messages older than Keystone's last restart, or from before it joined, are logged without their text.
Logs don't say who did something
Give Keystone View Audit Log. Without it, Logging still records the event, just not who caused it.
A channel or role is too noisy
Add it to Ignored channels or Ignored roles, or send that category to its own channel.