mojira.dev
MCL-10523

"Log Config" option does not detect .xml file

Custom log config located in ./minecraft/assets/log_configs was loading in earlier launcher versions, fails to load in latest launcher. 

Reports...

Error :(

The specified custom log config does not exist.
Filename on disk: client-debug.xml
Path: /root/.minecraft/assets/log_configs/client-debug.xml
Exists: file

Contents of client-debug.xml is as follows...

<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="debug">
 <Appenders>
 <Console name="SysOut" target="SYSTEM_OUT">
 <LegacyXMLLayout />
 </Console>
 <RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d\{yyyy-MM-dd}-%i.log.gz">
 <PatternLayout pattern="[%d\{HH:mm:ss}] [%t/%level]: %msg%n" />
 <Policies>
 <TimeBasedTriggeringPolicy />
 <OnStartupTriggeringPolicy />
 </Policies>
 </RollingRandomAccessFile>
 </Appenders>
 <Loggers>
 <Root level="all">
 <filters>
 <MarkerFilter marker="NETWORK_PACKETS" onMatch="ACCEPT" onMismatch="NEUTRAL" />
 </filters>
 <AppenderRef ref="SysOut"/>
 <AppenderRef ref="File"/>
 </Root>
 </Loggers>
</Configuration>

Linked issues

Attachments

Comments 9

This is with the 2.1.2472 version installed from the .deb on Debian 9.

Strange, but after configuring in the launcher and disabling the Log config slider under the Launch options, the debug window appears when launching the game (19w07a snapshot).  So, perhaps something is incorrect with the slider logic?

Can confirm

Filename on disk: test.xml
Path: C:\Users\galax\AppData\Roaming\.minecraft\test.xml
Exists: file

Tried with very basic .xml file, I attached it.

Having the very same issue on the Windows Launcher v2.1.2481 (hence 2.1.2480 & 2.1.2482 are refecenced but not this one)

Filename on disk: logconfig.xml
Path: C:\temp\logconfig.xml
Exists: file

 

Also having this issue on windows 2.1.3674

Also having this issue on Windows with launcher version 2.1.3674

Confirmed on the following Launcher 'Released'

LAUNCHER 2.1.5322
Tuesday, June 25, 2019, 10:02:57
c179bd360652a0a7ba2e97b1b68715a3456554aa

Attached a GIF. Still an issue and would like to disable my logs.

LAUNCHER 2.1.5387
Wednesday, June 26, 2019, 06:51:15
d5f0ae544bfc776d9523eef956933480a58d90e7

Closing as "wont fix" as the original issue is very old and might not be relevant anymore. If we experience this bug again, please create a new issue. 

migrated

(Unassigned)

Confirmed

Retrieved