Skip to main content

Overview

Logging routes independent event categories to their own channels, so a mod-log channel isn’t one unreadable firehose. Each category can go to a different channel, or be left off entirely.
A Message Deleted entry with who wrote it, the channel, the text and the message and user IDs

In Discord: a deleted message in the messages log.

In the dashboard, Security → Logging groups the categories in tabs (Members and moderation, Server changes, Activity and Ignored), each with a channel picker, and can send everything to one channel at once.
The Logging page with sanctions, automod, verification, members and messages routed to channels

Dashboard → Security → Logging: one channel per category, or one channel for a whole group.

The Server changes tab with each category and its channel, four of eight routed

Dashboard → Security → Logging → Server changes: roles, channels, invites, emojis, webhooks, threads, integrations and server.

The Activity tab with Voice, Commands, Tickets and Forms, none routed yet

Dashboard → Security → Logging → Activity: voice, commands, tickets and forms.

The Ignored tab with Radio Bot and the bot-commands channel, and pickers to add more

Dashboard → Security → Logging → Ignored: the channels, roles and people every category skips.

The categories

messages · members · roles · channels · invites · emojis · voice · server · sanctions · verification · automod · webhooks · threads · integrations · commands · forms · forums
Message Edited with the text before and after, and Message Pinned with who pinned it and a link

In Discord: a message edited and a message pinned.

Member Joined with the inviter and the invite pettoland, and Member Timed Out with until when, by chu and the reason

In Discord: a join with the invite used and a timeout with who and why.

Role Updated with the permissions granted to Moderators, and Member Roles Updated with Moderators added to shi

In Discord: a role given new permissions, and roles added to a member.

Channel Updated for announcements: slowmode 0 to 30 seconds and everyone denied Add Reactions and Send Messages, by kira

In Discord: slowmode and a permission of everyone changed.

Invite Created in general with the code, who made it and when it expires

In Discord: an invite created.

Emoji Renamed: honeypot to petto_honeypot, by shi

In Discord: an emoji renamed.

Voice Switched: toxic_tom moved from Gaming to Lounge, moved by kira

In Discord: a member moved between voice channels.

Server Updated with the vanity URL and the verification level, by liam, and Event Created for a game night

In Discord: the vanity URL and the verification level changed, and an event created.

The case Warn 142 of linkdropper by kira with the reason

In Discord: a warn, as every case is logged.

nova passed verification

In Discord: a member who passed verification.

AutoMod Rule Created: Block mention spam, its trigger, actions and who made it

In Discord: a Discord AutoMod rule created.

Webhook Created in announcements by shi

In Discord: a webhook created.

Thread Created in art by Mia, public, archived after a day

In Discord: a thread created.

Bot Added: Radio Bot, added by liam, with a warning that it can have Administrator

In Discord: a bot added, with the Administrator warning.

Command Used: kira used warn in staff, with a message prefix

In Discord: only the name of the command is logged.

Form Accepted: liam accepted number 17 of Mia in Staff application, with the reason

In Discord: a form answer accepted, with the reason.

Who did something (the By field) and the reason come from Discord’s audit log, so give Petto View Audit Log to see them. Without it the log is still sent, only without who did it.

Commands

liam runs logs view: mod-log, member-log, message-log and server-log with their categories, and Radio Bot ignored

In Discord: every channel with its categories, and what is ignored.

liam sends automod to mod-log and Petto confirms it

In Discord: a category sent to a channel.

liam removes server-log without a category and Petto removes all of its logs

In Discord: every category of a channel removed at once.

!logs (alias !log) needs Manage Server. Omitting event on !logs remove clears every category routed to that channel at once. !logs add #channel all sends every category to that channel (the ones it already gets are kept), like the “everything to one channel” box of the dashboard. Answers to forms go to the forms category.

Common layouts

Commands
Everything goes to #logs, except what a noisy bot does.

Per-channel color override

liam sets the color of sanctions in mod-log to ed4245 and Petto confirms it

In Discord: sanctions in red in mod-log.

The colors of mod-log: sanctions in ed4245, automod and verification with the default color

In Discord: the colors of a channel.

Ignoring users or channels

liam ignores Radio Bot by ID and Petto confirms it

In Discord: a bot ignored by every category.

The ignored list: Radio Bot and the bot-commands channel with their IDs

In Discord: what is ignored.

A user or channel added to the ignore list is skipped by every logging category at once, not just one, useful for bots or a staff-only channel you don’t want cluttering the log.
For word filters, anti-spam, and anti-raid, see Automod.

Limits

Logging has no Premium limit: every server can log every event, each category to the channel it wants. See Premium.