Repository navigation
Paper Console shutdown before all logs are written to it #13837
Description
Expected behavior
I would expect the console to print all the logs before shutting down.
Observed/Actual behavior
The console shutdown before all logs are printed to it.
Note: Do not confuse this with the .log file; The .log file is written to normally, it's just not printed in the terminal;
Steps/models to reproduce
- Start the server (I used the flags "@echo OFF
java -jar server.jar --nogui
PAUSE", I don't know if it's relevant to the cause of the issue)
-
Log in to the server
-
Type "stop" in the console
Okay, you will see that the logs in the terminal stop at:
[18:03:48 INFO]: [ChunkHolderManager] Waiting 60s for chunk I/O to halt for world 'minecraft:the_nether'
[18:03:48 INFO]: [ChunkHolderManager] Halted I/O scheduler for world 'minecraft:the_nether'
The following lines do not appear in the console (although they appear in the .log file):
[18:04:38] [Server thread/INFO]: [ChunkHolderManager] Saving all chunkholders for world 'minecraft:the_end'
[18:04:38] [Server thread/INFO]: [ChunkHolderManager] Saved 0 block chunks, 0 entity chunks, 0 poi chunks in world 'minecraft:the_end' in 0.00s
[18:04:38] [Server thread/INFO]: [ChunkHolderManager] Waiting 60s for chunk I/O to halt for world 'minecraft:the_end'
[18:04:38] [Server thread/INFO]: [ChunkHolderManager] Halted I/O scheduler for world 'minecraft:the_end'
[18:04:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[18:04:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[18:04:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[18:04:38] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[18:04:38] [Server thread/INFO]: Waiting for all RegionFile I/O tasks to complete...
[18:04:38] [Server thread/INFO]: All RegionFile I/O tasks to complete
[18:04:38] [Server thread/INFO]: [MoonriseCommon] Awaiting termination of worker pool for up to 60s...
[18:04:38] [Server thread/INFO]: [MoonriseCommon] Awaiting termination of I/O pool for up to 60s...
Plugin and Datapack List
None
Paper version
version
[18:11:01 INFO]: Checking version, please wait...
[18:11:01 INFO]: This server is running Paper version 26.1.2-51-main@5d62ec0 (2026-04-27T16:54:06Z) (Implementing API version 26.1.2.build.51-beta)
You are running the latest version
Other
Sometimes the console prints two more or two fewer lines than the ones I sent above.
Metadata
Metadata
Assignees
Labels
Type
Fields
MC Issue
Activity
Warriorrrr commentedon Oct 19, 2026
This has been fixed by #14382, the server now waits for all lines to be flushed before the terminal output gets closed