mojira.dev
MC-115797

Server output shows errors and nothing else

ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.
ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.

Because of this, no logs will generate in the logs folder either.

Linked issues

MC-115820 the minecraft server snepshot 17w15a don't working Resolved MC-115823 Console output does not work, log attached Resolved MC-115836 Starting server, getting format specifier error Resolved MC-115848 17w15a Sever does not start! Resolved MC-115854 Server won't start, throws up errors in console. Resolved

Comments 17

Warren Liddell

I can confirm this indeed occurs on at least MS systems. Linux based server starts, but server logging does not work

Doesn't work on Linux here, same errors above as windows followed by server exiting.

Alberto Salazar Muñoz

Maybe a bit obvious, but I can confirm that this affects macOS (10.12.5) as well.

EDIT: The server runs just fine, tho. It just doesn't output anything to console.

Warren Liddell

I've run it up on Debian with MineOS, runs and can join server.

the server is running in the background, just the logging engine, log4j, seems to not be able to read the config file in the jar, so it doesn't write anything to the console or latest.log

7 more comments

BTW, I no longer see the StatusLogger errors after going through the above workaround.

What i did on Win7 x86 is just open up the minecraft_server.jar in WinRAR and deleted the duplicate named files mentioned above.

META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat

Noticed in the previous snapshot such files did not exist in the archive.

Regular console output is now restored.

[media]

http://www.minecraftforum.net/forums/support/server-support/2715194-keeping-entity-that-already-exists-server-version

this also help with the client side when ppl having entiy with the same uuid works for me very well and the above metion also worked for me

SnipUndercover

For people who don't understand what Phillip said:
(Phillip's comment link:
https://bugs.mojang.com/browse/MC-115797?focusedCommentId=377682&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-377682)

How to fix:
1.Open the jar file using an unzipper like WinRAR/7-zip File manager/etc...
2.Navigate to: META-INF\org\apache\logging\log4j\core\config\plugins\ 3.Delete the Log4j2Plugins.dat file that is 67 bytes long
4.Run the server if you want using either the jar file itself or a batch script that:
a) is with jar file in the same directory containing code:

scriptInDirectory.bat

java -Xms<least memory to use> -Xmx<max memory to use> -jar minecraft_server.<server version>.jar nogui

b) is in a different directory containing code:

scriptOutsideDirectory.bat

cd <jar file directory in double quote marks, i.e: "C:\Users\<username>\Desktop">
java -Xms<least memory to use> -Xmx<max memory to use> -jar minecraft_server.<server version>.jar nogui

It is a easy fix, so it will probably be fixed in the next snapshot (hopefully) 🙂

user-f2760

Nathan Adams

Confirmed

Minecraft 17w15a

Minecraft 17w16a

Retrieved