mojira.dev
BDS-9943

Console output not showing date and time

Summary

After upgrading BDS to 1.16.100, a timestamp no longer preceeds each line in the console output. It appears for the first few lines and is then gone after the difficulty is output.

Steps to reproduce...

  1. Download and start a 1.16.40 based BDS instance

  2. Note the console output displays timestamps on each line

  3. Download and start a 1.16.100 BDS instance

  4. Note that the console output displays no timestamps after initial startup

What I expected to happen...

Timestamps continue on each line in the console output

What actually happened...

No timestamp on each line

How does this impact admins

At the moment, with no meaningful log output option admins rely on the server generated log file that is cleared on each server start, or by copying the console output to a file. This information can be used to check for hangs, determine when players logged on and off etc.

Before

[2020-11-17 02:00:09 INFO] Starting Server
[2020-11-17 02:00:09 INFO] Version 1.16.40.2
[2020-11-17 02:00:09 INFO] Session ID 1ae7d74c-5f58-4bc6-a187-835d1a63b062
[2020-11-17 02:00:09 INFO] Level Name: Jungle Temple and Treehouse
[2020-11-17 02:00:09 INFO] Game mode: 0 Survival
[2020-11-17 02:00:09 INFO] Difficulty: 2 NORMAL
[2020-11-17 02:00:09 INFO] opening worlds/Jungle Temple and Treehouse/db
[2020-11-17 02:00:12 INFO] IPv4 supported, port: 19132
[2020-11-17 02:00:12 INFO] IPv6 supported, port: 19133
[2020-11-17 02:00:12 INFO] IPv4 supported, port: 33710
[2020-11-17 02:00:12 INFO] IPv6 supported, port: 49241
[2020-11-17 02:00:13 INFO] Server started.
[2020-11-17 02:06:18 INFO] Running AutoCompaction...
[2020-11-17 02:12:18 INFO] Running AutoCompaction...

 

After

[2020-11-18 02:00:10 INFO] Starting Server
[2020-11-18 02:00:10 INFO] Version 1.16.100.4
[2020-11-18 02:00:10 INFO] Session ID d22584e4-14e4-4af0-9bbd-aa01a12d3c1f
[2020-11-18 02:00:10 INFO] Level Name: Jungle Temple and Treehouse
[2020-11-18 02:00:10 INFO] Game mode: 0 Survival
[2020-11-18 02:00:10 INFO] Difficulty: 2 NORMAL
[INFO] opening worlds/Jungle Temple and Treehouse/db
[INFO] IPv4 supported, port: 19132
[INFO] IPv6 supported, port: 19133
[INFO] IPv4 supported, port: 45348
[INFO] IPv6 supported, port: 60435
[INFO] Server started.
[INFO] Running AutoCompaction...
[INFO] Running AutoCompaction...

Linked issues

Comments 30

Same issue here, rather annoying. Upvoted.

Same issue here, rather annoying. Upvoted.

The timestamp is there at server startup, but drops off after the Difficulty level INFO message is written to the console.  They were time-stamped up to and including Version 1.16.40.2, but not from 1.16.100.4 onwards (see below examples);

 

Before

[2020-11-17 02:00:09 INFO] Starting Server
[2020-11-17 02:00:09 INFO] Version 1.16.40.2
[2020-11-17 02:00:09 INFO] Session ID 1ae7d74c-5f58-4bc6-a187-835d1a63b062
[2020-11-17 02:00:09 INFO] Level Name: Jungle Temple and Treehouse
[2020-11-17 02:00:09 INFO] Game mode: 0 Survival
[2020-11-17 02:00:09 INFO] Difficulty: 2 NORMAL
[2020-11-17 02:00:09 INFO] opening worlds/Jungle Temple and Treehouse/db
[2020-11-17 02:00:12 INFO] IPv4 supported, port: 19132
[2020-11-17 02:00:12 INFO] IPv6 supported, port: 19133
[2020-11-17 02:00:12 INFO] IPv4 supported, port: 33710
[2020-11-17 02:00:12 INFO] IPv6 supported, port: 49241
[2020-11-17 02:00:13 INFO] Server started.
[2020-11-17 02:06:18 INFO] Running AutoCompaction...
[2020-11-17 02:12:18 INFO] Running AutoCompaction...

 

After

[2020-11-18 02:00:10 INFO] Starting Server
[2020-11-18 02:00:10 INFO] Version 1.16.100.4
[2020-11-18 02:00:10 INFO] Session ID d22584e4-14e4-4af0-9bbd-aa01a12d3c1f
[2020-11-18 02:00:10 INFO] Level Name: Jungle Temple and Treehouse
[2020-11-18 02:00:10 INFO] Game mode: 0 Survival
[2020-11-18 02:00:10 INFO] Difficulty: 2 NORMAL
[INFO] opening worlds/Jungle Temple and Treehouse/db
[INFO] IPv4 supported, port: 19132
[INFO] IPv6 supported, port: 19133
[INFO] IPv4 supported, port: 45348
[INFO] IPv6 supported, port: 60435
[INFO] Server started.
[INFO] Running AutoCompaction...
[INFO] Running AutoCompaction...

The timestamp is there at server startup, but drops off after the Difficulty level INFO message is written to the console.  They were time-stamped up to and including Version 1.16.40.2, but not from 1.16.100.4 onwards (see below examples);

 

Before

[2020-11-17 02:00:09 INFO] Starting Server
[2020-11-17 02:00:09 INFO] Version 1.16.40.2
[2020-11-17 02:00:09 INFO] Session ID 1ae7d74c-5f58-4bc6-a187-835d1a63b062
[2020-11-17 02:00:09 INFO] Level Name: Jungle Temple and Treehouse
[2020-11-17 02:00:09 INFO] Game mode: 0 Survival
[2020-11-17 02:00:09 INFO] Difficulty: 2 NORMAL
[2020-11-17 02:00:09 INFO] opening worlds/Jungle Temple and Treehouse/db
[2020-11-17 02:00:12 INFO] IPv4 supported, port: 19132
[2020-11-17 02:00:12 INFO] IPv6 supported, port: 19133
[2020-11-17 02:00:12 INFO] IPv4 supported, port: 33710
[2020-11-17 02:00:12 INFO] IPv6 supported, port: 49241
[2020-11-17 02:00:13 INFO] Server started.
[2020-11-17 02:06:18 INFO] Running AutoCompaction...
[2020-11-17 02:12:18 INFO] Running AutoCompaction...

 

After

[2020-11-18 02:00:10 INFO] Starting Server
[2020-11-18 02:00:10 INFO] Version 1.16.100.4
[2020-11-18 02:00:10 INFO] Session ID d22584e4-14e4-4af0-9bbd-aa01a12d3c1f
[2020-11-18 02:00:10 INFO] Level Name: Jungle Temple and Treehouse
[2020-11-18 02:00:10 INFO] Game mode: 0 Survival
[2020-11-18 02:00:10 INFO] Difficulty: 2 NORMAL
[INFO] opening worlds/Jungle Temple and Treehouse/db
[INFO] IPv4 supported, port: 19132
[INFO] IPv6 supported, port: 19133
[INFO] IPv4 supported, port: 45348
[INFO] IPv6 supported, port: 60435
[INFO] Server started.
[INFO] Running AutoCompaction...
[INFO] Running AutoCompaction...

I really hope the times haven't been removed on purpose...   I depend on timestamps so I can roll back the server if someone griefs it.    Among other things - like seeing how long a new player has been on, and such...   Gotta keep an eye on these kids.

 

HOW DO I REECH THESE KEEEEEDS?

20 more comments

Issue still persists on 1.17.2.01

Same issue for me as well.  I have no idea how long users are active on my server without the timestamps in the console window.  This doesn't seem like a complex issue that should be persisting this long.  

Same issue for me as well.  I have no idea how long users are active on my server without the timestamps in the console window.  This doesn't seem like a complex issue that should be persisting this long.  

We believe this is fixed in the latest version.

We believe this is fixed in the latest version.

Kris Birchmore

(Unassigned)

Confirmed

Retrieved