COWMODSКаталог модов

Ember's Log Filtering

A highly configurable log filtering mod for Minecraft

Автор: TysonTheEmber1,8 тыс.5обновлён 17 авг. 2026 г.
УправлениеОптимизацияУтилиты

Описание

LogFilter

A highly configurable log filtering mod for Minecraft. Suppress noisy log messages, highlight important ones, and keep your console clean, all with hot-reloadable rules.

Wiki: https://tysontheember.dev/log-filter/intro/

Features

  • Regex message filtering: Match and suppress log messages by content using regular expressions
  • Logger name filtering: Filter by exact logger name or regex pattern, with hierarchical matching
  • Log level filtering: Target specific log levels (DEBUG, INFO, WARN, ERROR)
  • Filter actions: DENY (suppress), ALLOW (force show), or NEUTRAL (pass through) per rule
  • Per-rule enable/disable: Toggle individual rules without removing them
  • Hot-reload: Edit logfilter.json and changes apply instantly, no restart needed
  • Default rules included: Ships with pre-made (disabled) rules for common log spam

Configuration

LogFilter stores its config in logfilter.json in your Minecraft config directory. The file is created automatically on first launch with sensible defaults.

Example Config

{
  "configVersion": 1,
  "enabled": true,
  "rules": [
    {
      "name": "Suppress OpenAL spam",
      "enabled": true,
      "type": "MESSAGE_REGEX",
      "pattern": "(?i)openal",
      "action": "DENY",
      "level": null
    },
    {
      "name": "Block debug logs from server level",
      "enabled": true,
      "type": "LOGGER_NAME",
      "pattern": "net.minecraft.server.level",
      "action": "DENY",
      "level": "DEBUG"
    },
    {
      "name": "Always show errors",
      "enabled": true,
      "type": "LEVEL",
      "pattern": "ERROR",
      "action": "ALLOW",
      "level": null
    }
  ]
}

Rule Types

TypeDescription
MESSAGE_REGEXMatch the log message content against a regex pattern
LOGGER_NAMEMatch by exact logger name or prefix (hierarchical)
LOGGER_REGEXMatch logger names using a regex pattern
LEVELMatch by log level (DEBUG, INFO, WARN, ERROR)

Actions

ActionDescription
DENYSuppress the log message
ALLOWForce the message through, regardless of other rules
NEUTRALNo effect, pass through to the next rule

Optional Level Restriction

Any rule can include a level field to restrict it to a specific log level. For example, a LOGGER_NAME rule with "level": "DEBUG" will only match debug messages from that logger.

Default Rules

LogFilter ships with several pre-configured rules (disabled by default) to get you started:

  • Suppress OpenAL/LWJGL info spam
  • Suppress advancement loading messages
  • Suppress debug logs from net.minecraft.server.level
  • Suppress recipe loading messages
  • Always allow ERROR-level messages

Enable them by setting "enabled": true in the config file.

Последние версии

Все версии →
release

LogFilter 1.1.2 (NeoForge 1.21.1)

1.1.2+neoforge-1211
17 авг. 2026 г.518Minecraft: 1.21.1neoforge
Скачать
Что нового
# Changelog ## 1.1.2 - Strip redundant leading and trailing `.*` from filter patterns before compiling them. Rules match with `find()`, so a wrapped pattern like `.*GL_INVALID_OPERATION in glBlitFramebuffer.*` defeated the literal-prefix optimization and made every non-matching log line cost time quadratic in its length, which was enough to multiply modpack load times. - Only format a log message when a `MESSAGE_REGEX` rule needs it, and drop disabled rules when the config loads rather than skipping them on every log event.
release

LogFilter 1.1.2 (Forge 1.20.1)

1.1.2+forge-1201
17 авг. 2026 г.302Minecraft: 1.20.1forge
Скачать
Что нового
# Changelog ## 1.1.2 - Strip redundant leading and trailing `.*` from filter patterns before compiling them. Rules match with `find()`, so a wrapped pattern like `.*GL_INVALID_OPERATION in glBlitFramebuffer.*` defeated the literal-prefix optimization and made every non-matching log line cost time quadratic in its length, which was enough to multiply modpack load times. - Only format a log message when a `MESSAGE_REGEX` rule needs it, and drop disabled rules when the config loads rather than skipping them on every log event.
release

LogFilter 1.1.2 (Fabric 1.21.1)

1.1.2+fabric-1211
17 авг. 2026 г.80Minecraft: 1.21.1fabric
Скачать
Что нового
# Changelog ## 1.1.2 - Strip redundant leading and trailing `.*` from filter patterns before compiling them. Rules match with `find()`, so a wrapped pattern like `.*GL_INVALID_OPERATION in glBlitFramebuffer.*` defeated the literal-prefix optimization and made every non-matching log line cost time quadratic in its length, which was enough to multiply modpack load times. - Only format a log message when a `MESSAGE_REGEX` rule needs it, and drop disabled rules when the config loads rather than skipping them on every log event.
release

LogFilter 1.1.2 (Fabric 1.20.1)

1.1.2+fabric-1201
17 авг. 2026 г.220Minecraft: 1.20.1fabric
Скачать
Что нового
# Changelog ## 1.1.2 - Strip redundant leading and trailing `.*` from filter patterns before compiling them. Rules match with `find()`, so a wrapped pattern like `.*GL_INVALID_OPERATION in glBlitFramebuffer.*` defeated the literal-prefix optimization and made every non-matching log line cost time quadratic in its length, which was enough to multiply modpack load times. - Only format a log message when a `MESSAGE_REGEX` rule needs it, and drop disabled rules when the config loads rather than skipping them on every log event.
release

LogFilter 1.1.1 (NeoForge 1.21.1)

1.1.1+neoforge-1211
11 июл. 2026 г.62Minecraft: 1.21.1neoforge
Скачать
Что нового
# Changelog ## 1.1.1 - Package NeoForge LogFilter as a single bootstrap container that initializes the filter before mod discovery and exposes its embedded normal mod to NeoForge, allowing rules to filter discovery and Mixin-config messages, including missing-refmap warnings. - Avoid attaching duplicate filters when later lifecycle fallbacks initialize LogFilter again.
release

LogFilter 1.1.1 (Forge 1.20.1)

1.1.1+forge-1201
11 июл. 2026 г.77Minecraft: 1.20.1forge
Скачать
Что нового
# Changelog ## 1.1.1 - Package NeoForge LogFilter as a single bootstrap container that initializes the filter before mod discovery and exposes its embedded normal mod to NeoForge, allowing rules to filter discovery and Mixin-config messages, including missing-refmap warnings. - Avoid attaching duplicate filters when later lifecycle fallbacks initialize LogFilter again.
release

LogFilter 1.1.1 (Fabric 1.21.1)

1.1.1+fabric-1211
11 июл. 2026 г.24Minecraft: 1.21.1fabric
Скачать
Что нового
# Changelog ## 1.1.1 - Package NeoForge LogFilter as a single bootstrap container that initializes the filter before mod discovery and exposes its embedded normal mod to NeoForge, allowing rules to filter discovery and Mixin-config messages, including missing-refmap warnings. - Avoid attaching duplicate filters when later lifecycle fallbacks initialize LogFilter again.
release

LogFilter 1.1.1 (Fabric 1.20.1)

1.1.1+fabric-1201
11 июл. 2026 г.20Minecraft: 1.20.1fabric
Скачать
Что нового
# Changelog ## 1.1.1 - Package NeoForge LogFilter as a single bootstrap container that initializes the filter before mod discovery and exposes its embedded normal mod to NeoForge, allowing rules to filter discovery and Mixin-config messages, including missing-refmap warnings. - Avoid attaching duplicate filters when later lifecycle fallbacks initialize LogFilter again.
release

LogFilter 1.1.0 (NeoForge 1.21.1)

1.1.0+neoforge-1211
8 июл. 2026 г.22Minecraft: 1.21.1neoforge
Скачать
Что нового
# Changelog ## 1.1.0 - Attach the filter during early bootstrap (Fabric preLaunch, Forge/NeoForge mixin config plugin) so log spam emitted before mod init can be suppressed. - Re-attach on log4j2 reconfiguration, which FML performs during mod loading and would otherwise drop the filter. This is what lets rules like `uses unexpected schema` take effect.
release

LogFilter 1.1.0 (Forge 1.20.1)

1.1.0+forge-1201
8 июл. 2026 г.10Minecraft: 1.20.1forge
Скачать
Что нового
# Changelog ## 1.1.0 - Attach the filter during early bootstrap (Fabric preLaunch, Forge/NeoForge mixin config plugin) so log spam emitted before mod init can be suppressed. - Re-attach on log4j2 reconfiguration, which FML performs during mod loading and would otherwise drop the filter. This is what lets rules like `uses unexpected schema` take effect.