
Modrinth · Minecraft mod
Better Log4j Config
A simple mod for Quilt and Fabric to automatically reconfigure Log4j to improve the formatting of log messages.
Quick answer
Which Better Log4j Config release should I use?
Better Log4j Config 1.2.0 targets 1.14, 1.14.1, 1.14.2 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Better Log4j Config required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Better Log4j Config 1.2.0 need?
1.2.0. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Better Log4j Config without breaking your instance.
Built for Better Log4j Config 1.2.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.2.0. It targets 1.14, 1.14.1, 1.14.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.2.0. It opens that exact file at the source.
About this project
What does Better Log4j Config add?
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

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.
Project description from Modrinth.
Pick your setup
Better Log4j Config by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.4
2 loader builds1.21.3
2 loader builds1.21.2
2 loader builds1.21.1
2 loader builds1.21
2 loader builds1.20.6
2 loader builds1.20.5
2 loader builds1.20.4
2 loader builds1.20.3
2 loader builds1.20.2
2 loader builds1.20.1
2 loader buildsShowing the newest 12 of 37 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Better Log4j Config versions and loaders
1.2.0
better_log4j_config-1.2.0-fabric.jar
29 Aug 2023
1.2.0
better_log4j_config-1.2.0-quilt.jar
29 Aug 2023
1.1.0
better_log4j_config-1.1.0-quilt.jar
22 Jun 2023
1.1.0
better_log4j_config-1.1.0-fabric.jar
22 Jun 2023
1.0.0
better_log4j_config-fabric-1.0.0.jar
23 May 2023
1.0.0
better_log4j_config-quilt-1.0.0.jar
23 May 2023
Looking for an older file? The official Modrinth project page is in Resources.