SetupWorks on Free5 min read

How to set up logging on Discord

A full log in one command, or a channel per log type. Then choose what to skip.

Short answer

Discord has no log channel of its own, so you add a logging bot and tell it where to post. With LoggerBot, run /setlogall: it makes a private LoggerBot Logs category with a channel for each kind of log and switches the logs on. You can change any of it later on the dashboard.

Step 1: add LoggerBot

Add LoggerBot from the website and keep the permissions it asks for. It needs View Audit Log to name the moderator behind a ban, kick or role change.

Want invite tracking or /automod? Give it Manage Server as well: Discord only shows a server's invites and AutoMod rules to bots with that permission.

Step 2: run /setlogall

/setlogall creates a LoggerBot Logs category that is hidden from @everyone, with these channels, and switches the logs on:

#member-logs

joins, leaves, nicknames and roles given or removed.

#message-logs

deleted and edited messages, purges, pins and reactions.

#mod-logs

bans, kicks, timeouts and warnings.

#voice-logs

joins, leaves, moves, mutes and streams.

#channel-logs

channels, threads, permissions and webhooks.

#role-logs

roles created, deleted and edited.

#server-logs

server settings, invites, emoji, stickers, events and LoggerBot settings.

Prefer one channel for everything? Run /setlogall mode:Disable and the logs go to #all-logs instead.

Step 3: fine-tune it on the dashboard

  • Log channels — send a whole category to a channel you already have, or set one main channel for everything.
  • Individual Log Config — switch single logs on or off, so you only get what you need.
  • Ignore Options — skip channels, roles or members you don’t want in your logs, such as a bot-command channel.
  • Language — LoggerBot posts its logs in your server’s language. Change it with /language.

Pro Lite also gives each log its own colour and format, and Pro lets you search 30 days of logs on the dashboard.

Step 4: check that it works

Create a test channel and delete it again. Within seconds both changes should show up in #channel-logs. Nothing there? The Troubleshoot logging button on the dashboard checks LoggerBot's permissions and tells you what is missing.

Frequently asked questions

Is LoggerBot free?

Yes. Message, member, moderation, role, channel, voice and server logs are free, including the text of deleted and edited messages up to 12 hours old. Pro keeps that text for 28 days, searches 30 days of logs, logs pins and removed reactions, and more.

Can members see the logs?

Not with /setlogall: the LoggerBot Logs category is hidden from @everyone. Give your staff role access to it so they can read the logs.

Can I use channels I already have?

Yes. Skip /setlogall and pick a channel for each category, or one main channel, in the dashboard.

Related guides

Set up your logs in a minute

Add LoggerBot and run /setlogall. The free plan never expires.