docs/security & control/logging

logging

11 dedicated event channels with one-command auto setup, clean batched logs, and html purge transcripts.

overview

logging records what happens in your server across 11 separate categories (deleted/edited messages, purges with downloadable html transcripts, joins/leaves, role edits, channel edits, voice joins/moves, moderation actions, and server updates).

logging live previewlogging
grave✓ APP17:30
channel deleted•2 hours ago

channel: #king's roomtype: voice • position: 2category: customdeleted by: @grave (grave#4881)reason: voicemaster: room is empty

channel id: 1575117717776629833

permissions

  • who can set it up: administrator permission (or server owner), with a role higher than grave's highest role.
  • bot permissions: view audit log, manage channels (for .logging auto), send messages, embed links, and attach files (for html purge transcripts).

auto setup (easiest way)

if you want everything set up in 2 seconds without making 11 channels yourself, run:

text
.logging auto

grave will automatically create a private grave-logging category and create + link all 11 log channels for you.

instant batched logs

grave captures server events in real time and groups rapid actions into clean, readable log messages.

per-event commands (manual setup)

.logging is not an interactive button menu — it just shows your current setup and the list of log commands.

if you already have your own channels and want to pick where each log goes, run the command for that event and tag the channel:

  • .messagelog #channel — deleted & edited messages, plus html transcripts when messages are purged.
  • .memberlog #channel — joins, leaves, nicknames, and member updates.
  • .modlog #channel — bans, kicks, timeouts, locks, and moderation actions.
  • .rolelog #channel — role creations, deletions, and permission edits.
  • .channellog #channel — channel creations, deletions, and setting edits.
  • .voicelog #channel — voice channel joins, leaves, moves, and mutes.
  • .invitelog #channel — invite creations and deletions.
  • .emojilog #channel — emoji adds, renames, and removals.
  • .stickerlog #channel — sticker adds, edits, and removals.
  • .integrationlog #channel — webhooks, bots, and integrations.
  • .serverlog #channel — server name, icon, vanity, and setting changes.

example:

text
.modlog #mod-logs
.messagelog #message-logs
.logging status

disabling logging

to stop logging a specific event or turn off logging, use the reset/disable subcommands for .logging or that event's log command. your existing channels and old log messages are not deleted.

commands

.logging
prefixslash

configure server event logging

aliases: .logs, .log
.logging autoautomatically create grave-logging category and missing event channels in priority order
.logging reset [event=all]reset a specific logging event or all events
.logging showview current logging channel configuration
.messagelog [channel]
prefix

set the channel for message deletes, edits, and purges

aliases: .msglog, .messageslogexamples: .messagelog #messages
.memberlog [channel]
prefix

set the channel for member joins, leaves, and profile changes

aliases: .memberslogexamples: .memberlog #members
.rolelog [channel]
prefix

set the channel for role creates, edits, deletes, and updates

aliases: .roleslogexamples: .rolelog #roles
.channellog [channel]
prefix

set the channel for channel and permission changes

aliases: .channelslogexamples: .channellog #channels
.invitelog [channel]
prefix

set the channel for invite creates and deletes

aliases: .inviteslogexamples: .invitelog #invites
.modlog [channel]
prefix

set the channel for bans, kicks, unbans, and timeouts

aliases: .moderationlogexamples: .modlog #moderation
.voicelog [channel]
prefix

set the channel for voice joins, leaves, moves, mutes, and streams

aliases: .vclog, .voiceslogexamples: .voicelog #voice
.emojilog [channel]
prefix

set the channel for emoji changes

aliases: .emojislogexamples: .emojilog #emojis
.stickerlog [channel]
prefix

set the channel for sticker changes

aliases: .stickerslogexamples: .stickerlog #stickers
.integrationlog [channel]
prefix

set the channel for app and webhook changes

aliases: .integrationslog, .webhooklogexamples: .integrationlog #integrations
.serverlog [channel]
prefix

set the channel for server setting changes

aliases: .guildlogexamples: .serverlog #server