Log Filter

「Silence all noise, keep only the true voice」

The /logfilter command manages console log-filtering rules. Matching log lines are silently dropped and no longer output to the console, latest.log, or debug.log. Useful for silencing spammy logs from mods/plugins (e.g. resource-leak warnings, error floods).

Basic usage:

/logfilter [list|reload|on|off]

Permission:

youer.command.logfilter

This is a persistent command that is always registered and not controlled by commands.yml. See commands.yml.

Rule storage:

Rules are edited in youer-config/logfilter.yml:

yaml
  • enable: whether filtering is on; default false
  • filters: a list of regular expressions matching the raw log message (without the [HH:mm:ss LEVEL]: prefix)

View filter rules

/logfilter list List the currently configured rules.

Reload rules

/logfilter reload Reload rules from logfilter.yml immediately; no server restart needed.

Enable filtering

/logfilter on

Disable filtering

/logfilter off

❓ FAQ

  • Q: Can startup-phase logs (e.g. mod resource loading) be filtered?
  • A: Yes. The filter is hooked early during server startup, so startup-phase logs are filtered too.
  • Q: Rules not working?
  • A: Make sure enable is true, and that the rule is a regex matching the log message content.
© 2019-2026 MohistMCUnofficial Minecraft product. Not approved by or associated with Mojang or Microsoft.