Mojira Archive
MCL-17489

Launcher does not allow to use a custom Log4J configuration

When I set -Dlog4j.configurationFile=<my-file-path> parameter to JVM args
then the game still uses the default Log4J config.

I checked the command line that started the game and it showed that
in fact the launcher appends this parameter again at the end of all JVM args,
so that the second instance of the parameter overrides my parameter:
... -Dlog4j.configurationFile=<my-file-path> -Dlog4j.configurationFile=<default-file-path> ...

A solution to this problem seems to be simple:
The launcher should append the user's JVM args at the end of all parameters
to allow override any default JVM arg, including overriding the default Log4J config path with a custom path.

 

Won't Fix

Tom MCT

2021-04-01, 05:09 AM

2021-12-24, 08:25 PM

2021-04-07, 12:11 AM

0

2

Unconfirmed

2.2.2311 (Windows)

-