Back to mods
Better Log4j Config project artwork

Modrinth · Minecraft mod

Better Log4j Config

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Better Log4j Config release should I use?

Updated 2 years ago
Latest stable file 1.2.0
Game version 1.14, 1.14.1, 1.14.2
Loader Fabric

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.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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.

No extra mods listed for this file

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.

  1. 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.

  2. 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.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 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

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.

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.

74 available setups

Showing 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

6 of 6 releases match

Looking for an older file? The official Modrinth project page is in Resources.