Back to mods
Async Logger project artwork

CurseForge · Minecraft mod

Async Logger

Asynchronous logging and efficient filtering - performance improvements and utility for keeping your logs clean

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

Quick answer

Which Async Logger release matches 1.2.2?

Updated 3 days ago
Best match for your filters Async Logger 2.2.2+1.8.9-ornithe
Game version 1.13.1, 1.9.3, 1.8.7
Loader Fabric

Async Logger 2.2.2+1.8.9-ornithe targets 1.13.1, 1.9.3, 1.8.7 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Async Logger required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
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 does not explicitly classify this release as client-only or server-only.

What else does Async Logger 2.2.2+1.8.9-ornithe need?

Async Logger 2.2.2+1.8.9-ornithe on 1.2.2. Every mod below is checked against that same setup.

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 Async Logger without breaking your instance.

Built for Async Logger 2.2.2+1.8.9-ornithe on 1.2.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Async Logger 2.2.2+1.8.9-ornithe. It targets 1.13.1, 1.9.3, 1.8.7 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

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Async Logger 2.2.2+1.8.9-ornithe. It opens that exact file at the source.

About this project

What does Async Logger add?

Async Logger is a Minecraft mod that makes logging operations asynchronous.

In vanilla, loggers are not asynchronous. This means the actual logging operations, including I/O operations, happen on the logging thread. This mod changes logging to be asynchronous for better performance.

This can be especially useful when large amounts of messages are being logged and/or debug logging is enabled (default on Forge / NeoForge).

Benchmarks

Item Vanilla AsyncLogger
Simple Messages (10k) 6146.1ms 141.2ms
Messages with Placeholders (10k) 6413.2ms 96.6ms
Messages with Throwable (1.5k) 19572.4ms 9.0ms

You can do these tests yourself by enabling testPerformance in the config. When this option is enabled, the mod will log a large number of messages both before and after setting up async loggers. You can see the test results in the log.

Filtering

Starting from version 2.0.0, AsyncLogger supports log filtering. The filtering happens on the dedicated, async logger thread, ensuring there is no overhead for the caller.

To use, simply set filtering.enabled to true in the config, and edit one or more of the filters. Filtering by logger name, level, and message (match substring or regexps) is supported.

Technical Details

  • Asynchronous loggers are used, in favor of Asynchronous appenders. The former is newer, faster and lighter on allocation rate.
    • Asynchronous loggers require LMAX Disruptor, a lock-free inter-thread communication library. The mod will load the library onto the system classloader when it is not present. This mod redistributes LMAX Disruptor under the Apache-2.0 License.
  • The config file allows easy control of some log4j2 settings.
  • System.out and System.err can be redirected to loggers.

Project description from CurseForge.

Pick your setup

Async Logger by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

134 available setups

Showing the newest 12 of 90 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

Async Logger versions and loaders

1 of 50 releases match
Clear filters

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