Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Better Log4j Config

Better Log4j Config

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

54.8k
45
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x

Platforms

Fabric
Quilt

Supported environments

Client-side
Server-side
Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

Pixelstormer
Pixelstormer Owner

Details

Licensed Apache-2.0
Published 2 years ago
Updated last year
DescriptionGalleryChangelogVersions

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.

Modrinth is open source.

new-orgs-page@a27b5f4

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.