Logs
The channels where Ammit logs sanctions, messages, members and server changes.
At a glance
- Availability
- Free, with Premium options
- In the portal
- Security › Logs
- Event log
- The last 30 days, in the portal
Overview
Logs keep a record of what happens on your server. Ammit posts, in channels reserved for your team, sanctions, deleted or edited messages, arrivals and departures, as well as changes made to channels, roles and server settings.
On the Logs page, you organise these channels and choose the events to record, as well as the exclusions. The Event log, placed just below Logs in the menu, gathers in the portal what Ammit has recorded on your server over the last 30 days.
How it works
The four logs
| Setting | What Ammit posts there |
|---|---|
| Sanctions channel | Sanctions, whether applied with Ammit or directly in Discord, Automod interventions, anti-raid and anti-nuke reports, and every setting changed, with its author. Failing a dedicated channel, it also receives reports, appeals, dual approval requests and security alerts. |
| Message log channel | Deleted messages with their content, edited messages with their text before and after, and bulk deletions. If the option is turned on, it also receives Discord AutoMod actions. |
| Member log channel | Arrivals with the account creation date, departures with the member's roles, nickname and role changes. Depending on your options, it also receives voice joins and moves, and username and avatar changes. |
| Server log channel | Creations, edits and deletions of channels, threads, roles, permissions, webhooks, invites, emojis, stickers, events and Discord AutoMod rules. Added to these are changes to server settings, bots and integrations added, and member prunes. |
An arrival is flagged as a recent account when the account was created less than 7 days ago. A role change shows its author when Ammit has the View Audit Log permission.
A log with no channel is posted nowhere, but its events remain in the Event log. Sanctions are recorded in members' cases in any case.
Ammit groups entries for a second and a half, then sends them in messages of at most ten. It does not log messages from bots and webhooks, and its own actions do not appear in the server log. A change that only affects the position of a channel or a role is ignored, as is an edited message whose text has not changed.
Message content
Ammit knows the content of a deleted or edited message only if it still had it in memory. For an old message, or one sent before Ammit's last restart, the log says the content is unavailable. The log gives the author of a deleted message, but not the person who deleted it.
Exclusions
The Channels excluded from the message log produce no entry in the message log, not even for Discord AutoMod. Their threads are excluded with them. With Premium, the Roles excluded from logs and the Members excluded from logs remove everything concerning these members from the message and member logs. These excluded events do not appear in the Event log either. The exclusions apply neither to the sanctions channel nor to the server log.
Log layout
The Log layout card offers three arrangements. One channel per type, the recommended layout, devotes a channel to each log. Two channels separates sanctions from the other three logs. A single channel brings everything together, but quickly becomes very busy on a popular server.
For the chosen organisation, Ammit suggests a moderation category and the matching channels. With Create, it creates the channel. Use takes an existing channel that already has a log name, and Refuse dismisses the proposal. A channel already chosen for this log is marked In place.
The channels created by Ammit are private. Members cannot see them, and Ammit posts in them. The roles that have the Moderation access at the time of creation can read them but not write in them. The server owner and administrators always see them.
Event log
The Event log shows, from newest to oldest, what Ammit has recorded on your server over the last 30 days. It includes the events from the logs, even those with no channel, as well as the actions of anti-raid, anti-nuke, and Automod, security alerts, and your team's work on reports, appeals, approvals, and the review queue. Other Ammit actions also appear there, such as verifications, backups, or giveaways.
Message content never appears there. Sanctions do not appear either. Find them in Member cases.
Configuration
In your server's menu, open Logs, in the Security section.
- In Log layout, tick the layout that suits you. Ammit saves it right away and shows the channels it proposes.
- For each proposal, click Create, Use followed by the name of an existing channel, or Refuse. Each decision applies immediately. A refused proposal is reopened with Go back on the decision.
- In Channels, check the channel for each log, or directly choose an existing channel. Only the channels where Ammit can post are offered.
- In Logged activity, choose the additional events to record.
- In Exclusions, choose the channels, roles, and members to keep out of the logs.
- Click Save changes, in the bar that appears as soon as a setting changes.
The configuration assistant offers the same log layout, at its Logs step.
Settings
Channels
The channel for each kind of log.
| Setting | Description | Default value |
|---|---|---|
| Sanctions channel | None | |
| Message log channel | Deleted and edited messages. | None |
| Member log channel | Joins, leaves, roles and nicknames. | None |
| Server log channel | Server channels, roles, permissions and settings. | None |
Logged activity
Choose the events to record in the logs: voice activity, Discord AutoMod actions and profile changes.
| Setting | Description | Default value |
|---|---|---|
| Voice connections and moves | Records voice channel joins, leaves and switches in the member log. | Enabled |
| Discord AutoMod actions | Records messages blocked and timeouts triggered by Discord AutoMod in the message log. | Enabled |
| Username and avatar changesPremium | Records username, display name and avatar changes on Discord in the member log. | Disabled |
Exclusions
Choose the channels, roles and members to exclude from the logs.
| Setting | Description | Default value |
|---|---|---|
| Channels excluded from the message log | None | |
| Roles excluded from logsPremium | None | |
| Members excluded from logsPremium | None |
Usage
In Discord, each entry is an embed that gives the author, the channel concerned, and the details of the change. An edited message carries a link to the message itself.
To view the history in the portal, open Event log, just below Logs in the menu. Choose a category at the top of the page, such as Messages, Members or Anti-raid, to see only its events. The table gives each event's date, category, summary and author. At the bottom of the table, Rows per page changes the number of events displayed.
For example, to find out who deleted a channel, choose the Server category and look for the Channel deleted line. Its author is in the Author column.
In Discord, type /config modlog and choose a channel in the channel option to change the sanctions channel. Ammit first checks that it can post there.
Required permissions
In each log channel, Ammit needs the View Channels, Send Messages, and Embed Links permissions. The server log, the author of role changes, and sanctions made directly in Discord require View Audit Log. To create the proposed channels, Ammit needs Manage Channels and Manage Roles.
In the portal, the server owner and administrators configure the Logs page and view the Event log. The access of other roles and members is set in Team and access. The /config modlog command requires Edit access to the Logs page.
Free version and Premium
| Feature | Free | Premium |
|---|---|---|
| Event logs: messages, members, channels, roles, voice, threads, invites, emojis, Discord AutoMod | Included | Included |
| Members and roles excluded from logs | Not included | Included |
| Logging of username and avatar changes | Not included | Included |
Limits
- If Ammit can no longer post in a log channel, because it was deleted or its permissions changed, the entries of that log are lost until the problem is resolved. The Check tab of the Settings page flags a deleted or inaccessible log channel.
- The Event log keeps 30 days of events and shows at most the 500 most recent ones in the chosen category.
- The access settings of channels created by Ammit do not follow changes made by your team. If you later add a team role, give it access to the log channels in Discord.
Frequently asked questions
Why does the server log stay empty?
Check that a Server log channel is chosen and that Ammit has the View Audit Log permission. Without it, Discord does not pass server changes to it.
Why do some deleted messages not appear in the log?
Ammit does not log messages from bots and webhooks. Also check the Exclusions, which leave out certain channels, roles, or members.
My moderators cannot see the log channels. What should I do?
The channels created by Ammit open only to the roles that had the Moderation access when they were created. Give the Moderation access to your team roles in Team and access, then open the existing channels to them in the channel settings in Discord.