"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>
Created Issue:
Custom log config does not exist
Environment
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: fileContents 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>
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: fileContents 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>
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: fileContents 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>
Custom logconfig does notexist"Log Config" option does not detect .xml file
blocks

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
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)
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'
Attached a GIF. Still an issue and would like to disable my logs.
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.