Перейти к содержимому
Mineforgian

Better Log4j Config

A simple mod for Quilt and Fabric to automatically reconfigure Log4j to improve the formatting of log messages.

71K загрузок52 подписчиковApache-2.0fabricquilt

Обновлён 29 августа 2023 г. · опубликован 23 мая 2023 г.

  • After
  • Before

Better Log4j Config

A simple mod for Quilt and Fabric to automatically reconfigure Log4j to improve the formatting of log messages.

Development Status

This mod is no longer being developed. It will (almost) definitely continue working for future versions of Minecraft, but the supported versions list may become outdated.

Screenshots

Before

before

After

after

What does it do?

As can be seen from the above screenshots, the main difference this mod makes is the addition of the name of the mod responsible for each log message. This small change makes logs significantly more readable, as without it there is no reliable way to distinguish between log messages from different mods. The screenshots also highlight how some mods attempt to individually remedy this issue by manually including their name in the content of the log message. This mod offers a solution to this problem by configuring the logging system itself to always include the mod name in the log messages. The format of the log messages can also be further customised with a config file, which by default is better_log4j_config.xml in the mod config directory.

Version Support

Better Log4j Config is compatible with every version of Minecraft that is supported by the Quilt and Fabric mod loaders - so 1.14 onwards. The Forge mod loader already has built-in functionality to reconfigure Log4j, so there are no plans to port the mod to it.

Reporting Issues

If for any reason the mod isn't working, please open an issue so it can be fixed. Remember to include the versions of both Minecraft and the mod loader you're using, as well as any other mods you have installed, and also a copy of the log file. (Hint: You can add -Dlog4j2.debug=true as a command-line argument to Minecraft to produce substantially more verbose logs.)

License

Better Log4j Config is licensed under the Apache 2.0 license.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.2.0Релиз1.21.2, 1.21.3, 1.21.4, 1.21.5fabric29 августа 2023 г..jar (41 КБ)
1.2.0Релиз1.21.2, 1.21.3, 1.21.4, 1.21.5quilt29 августа 2023 г..jar (41 КБ)
1.1.0Релиз1.19.3, 1.19.4, 1.20, 1.20.1quilt22 июня 2023 г..jar (47 КБ)
1.1.0Релиз1.19.3, 1.19.4, 1.20, 1.20.1fabric22 июня 2023 г..jar (47 КБ)
1.0.0Релиз1.19.3, 1.19.4, 1.20, 1.20.1fabric23 мая 2023 г..jar (47 КБ)
1.0.0Релиз1.19.3, 1.19.4, 1.20, 1.20.1quilt23 мая 2023 г..jar (47 КБ)

Ченджлог

1.2.0Релиз1.21.3, 1.21.4, 1.21.5 · 29 августа 2023 г.

Disable debug.log by default as it is excessively verbose

  • People who are already using this mod should delete/rename the config file for this change to take effect
1.2.0Релиз1.21.3, 1.21.4, 1.21.5 · 29 августа 2023 г.

Disable debug.log by default as it is excessively verbose

  • People who are already using this mod should delete/rename the config file for this change to take effect
1.1.0Релиз1.19.4, 1.20, 1.20.1 · 22 июня 2023 г.

Change homepage link to point to Modrinth instead of Github

1.1.0Релиз1.19.4, 1.20, 1.20.1 · 22 июня 2023 г.

Change homepage link to point to Modrinth instead of Github

1.0.0Релиз1.19.4, 1.20, 1.20.1 · 23 мая 2023 г.

Initial Release

1.0.0Релиз1.19.4, 1.20, 1.20.1 · 23 мая 2023 г.

Initial Release

Полная история изменений — на Modrinth.

Комментарии

Загружаем…