No logs created in 13w39 client in singleplayer mode
Noticed today that since the 26/9 i no longer have any client log output when playing singleplayer. Have not tried if there is a difference in multiplayer mode.
I saw the notice about log4j2 and new default logs location being logs and tried creating .minecraft/logs/ but it did not help.
Environment
Linux Fedora 19
Linked Issues
Created Issue:
No logs created in 13w39 client in singleplayer mode
Noticed today that since the 26/9 i no longer have any client log output when playing singleplayer. Have not tried if there is a difference in multiplayer mode.
I saw the notice about log4j2 and new default logs location being logs and tried creating .minecraft/logs/ but it did not help.
Environment
Linux Fedora 19
Added Linked Issues:
relates to
Added Assignee:
[Mojang] Nathan Adams
Added Fixed Versions: 13w41a
Added Linked Issues:
is duplicated by
Confirmed.
Adding a log4j2 configuration via -Dlog4j.configurationFile=/home/henrik/.minecraft/logs.xml allows me to successfully configure log output. So seems the problem is in default log4j2 configuration.
This is the log4j2 logs.xml file I used:
<?xml version="1.0" encoding="UTF-8"?> <Configuration status="debug"> <Appenders> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/> </Console> </Appenders> <Loggers> <Root level="trace"> <AppenderRef ref="Console"/> </Root> </Loggers> </Configuration>Note: No idea what that log format really means and likely not correct for Minecraft. Only copy-pasted from log4j2 example to see if it could be done. But with that there is log output on the console.
Good catch !
How to it on server?