Console timestamps not generated on every line
Currently when stdout from console are redirected to a log file by the admin, not every log line in Bedrock has a timestamp. Java does for its console. That makes it difficult to build any parsing or consume log files in other systems.
Bedrock logging (bad lines in red):
[2021-04-06 16:00:22 INFO] Starting Server
[2021-04-06 16:00:22 INFO] Version 1.16.210.06
[2021-04-06 16:00:22 INFO] Session ID 293290ef-c0b3-4896-9e11-d8b8dc4afe73
[2021-04-06 16:00:22 ERROR] Unknown authority mode true, expected one of [ 'client-auth', 'server-auth', 'server-auth-w$
[2021-04-06 16:00:22 INFO] Level Name: Bedrock level
[2021-04-06 16:00:22 INFO] Game mode: 1 Creative
[2021-04-06 16:00:22 INFO] Difficulty: 1 EASY
[INFO] opening worlds/Bedrock level/db
[INFO] IPv4 supported, port: 19132
[INFO] IPv6 supported, port: 19133
[INFO] IPv4 supported, port: 60783
[INFO] IPv6 supported, port: 57653
[INFO] Server started.
Java logging (timestamp on every line):
[16:05:13] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5$
[16:05:13] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Playe$
[16:05:13] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] $
[16:05:13] [main/INFO]: Reloading ResourceManager: Default
[16:05:15] [Worker-Main-2/INFO]: Loaded 7 recipes
[16:05:15] [Worker-Main-2/INFO]: Loaded 927 advancements
[16:05:18] [Server thread/INFO]: Starting minecraft server version 1.16.5
[16:05:18] [Server thread/INFO]: Loading properties
[16:05:18] [Server thread/INFO]: Default game type: CREATIVE
[16:05:18] [Server thread/INFO]: Generating keypair
[16:05:18] [Server thread/INFO]: Starting Minecraft server on *:25565
[16:05:18] [Server thread/INFO]: Using epoll channel type
[16:05:18] [Server thread/INFO]: Preparing level "world"
[16:05:18] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
Comments2
History4
Resolution: Unresolved → Awaiting Response
Resolution: Awaiting Response → Unresolved
Resolution: Unresolved → Incomplete
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response
Is this still an issue in the latest version? If so, can you please add it to the affected versions (or mention it if you are not the reporter).
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki