Ember's Log Filtering

A highly configurable log filtering mod for Minecraft

Редакция NLZONE · 2 мин чтения · 1 просмотр
Ember's Log Filtering
Скачать Ember's Log Filtering1.20.1 – 1.21.1 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

A highly configurable log filtering mod for Minecraft

  • Тип: мод
  • Загрузчик: fabric, forge, neoforge
  • Версии Minecraft: 1.20.1 – 1.21.1
  • Скачиваний на Modrinth: 5 391

Подробно

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/

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

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

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

| Type |Description | | ------------- |----------------------------------------------------- | | MESSAGEREGEX |Match the log message content against a regex pattern | | LOGGERNAME |Match by exact logger name or prefix (hierarchical) | | LOGGERREGEX |Match logger names using a regex pattern | | LEVEL |Match by log level (DEBUG, INFO, WARN, ERROR) |

| Action |Description | | ------- |---------------------------------------------------- | | DENY |Suppress the log message | | ALLOW |Force the message through, regardless of other rules | | NEUTRAL |No effect, pass through to the next rule |

Any rule can include a level field to restrict it to a specific log level. For example, a LOGGERNAME rule with "level": "DEBUG" wi

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также