Mojira Archive
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...

Environment

Windows 10 with an i7 cpu and 15gb of ram bedrock vesion

Linked Issues

Comments15

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...

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?

Issue still the same with 1.16.101.1 (Thought was unlikely, but tested anyway)

Same issue here after upgrading to 1.16.100 on Ubuntu Linux 20.04. On version 1.16.40 it was okay.

I run a MCB server at home on a Linux PC and I wrote a bash script if someone connects in the last 10 minutes, my kids and their friends get a notification about a new connection. Now this does not work, actually cannot work without time/date. Hope it will be fixed soon.

Issue persists on 1.16.200.2

Issue persists on 1.16.201.2

Is there a process for getting an update or assigning an issue? This bug remains unresolved and unassigned, and is preventing backup scripts from functioning correctly as they rely on timestamps to detect whether a player has connected/disconnected since the last backup. Without that, taking hourly backups is causing capacity issues.

still waiting for this issue to be fixed. Last patch did not correct it.  How does this get assigned to a developer to be corrected? It says it is a confirmed bug but nothing has been done about this issue as of yet.

Issue persists on 1.16.220.2

Has anyone found a work around for this?  

One workaround is to run it in a docker container. The docker logs can be viewed with timestamps.

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.  

We believe this is fixed in the latest version.

History12

IonicEcko

Changed description:

Summary

0

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.

0

This is log from 1.16.40

0

[2020-11-13 14:53:05 INFO] Running AutoCompaction...
0[2020-11-13 14:59:05 INFO] Running AutoCompaction...
0[2020-11-13 15:05:05 INFO] Running AutoCompaction...
0[2020-11-13 15:11:05 INFO] Running AutoCompaction...
0[2020-11-13 15:17:05 INFO] Running AutoCompaction...
0[2020-11-13 15:23:05 INFO] Running AutoCompaction...
0[2020-11-13 15:29:05 INFO] Running AutoCompaction...

0

 

0

This is log from 1.16.100

0

[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...

IonicEcko

Changed description:

Summary

0

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.

0

This is log from 1.16.40

0

[2020-11-13 14:53:05 INFO] Running AutoCompaction...
0[2020-11-13 14:59:05 INFO] Running AutoCompaction...
0[2020-11-13 15:05:05 INFO] Running AutoCompaction...
0[2020-11-13 15:11:05 INFO] Running AutoCompaction...
0[2020-11-13 15:17:05 INFO] Running AutoCompaction...
0[2020-11-13 15:23:05 INFO] Running AutoCompaction...
0[2020-11-13 15:29:05 INFO] Running AutoCompaction...

0

 

0

This is log from 1.16.100

0

[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...
0[INFO] Running AutoCompaction...

Summary

0

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.

0

Steps to reproduce...

0
    000
  1. Download and start a 1.16.40 based BDS instance
  2. 0
  3. Note the console output displays timestamps on each line
  4. 000
  5. Download and start a 1.16.100 BDS instance
  6. 0
  7. Note that the console output displays no timestamps after initial startup
  8. 0
0

What I expected to happen...

0

Timestamps continue on each line in the console output

0

What actually happened...

0

No timestamp on each line

0

How does this impact admins

0

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.

0

Before

0
0
0[2020-11-17 02:00:09 INFO] Starting Server0[2020-11-17 02:00:09 INFO] Version 1.16.40.20[2020-11-17 02:00:09 INFO] Session ID 1ae7d74c-5f58-4bc6-a187-835d1a63b0620[2020-11-17 02:00:09 INFO] Level Name: Jungle Temple and Treehouse0[2020-11-17 02:00:09 INFO] Game mode: 0 Survival0[2020-11-17 02:00:09 INFO] Difficulty: 2 NORMAL0[2020-11-17 02:00:09 INFO] opening worlds/Jungle Temple and Treehouse/db0[2020-11-17 02:00:12 INFO] IPv4 supported, port: 191320[2020-11-17 02:00:12 INFO] IPv6 supported, port: 191330[2020-11-17 02:00:12 INFO] IPv4 supported, port: 337100[2020-11-17 02:00:12 INFO] IPv6 supported, port: 492410[2020-11-17 02:00:13 INFO] Server started.0[2020-11-17 02:06:18 INFO] Running AutoCompaction...0[2020-11-17 02:12:18 INFO] Running AutoCompaction...
0
0

 

0

After

0
0
0[2020-11-18 02:00:10 INFO] Starting Server0[2020-11-18 02:00:10 INFO] Version 1.16.100.40[2020-11-18 02:00:10 INFO] Session ID d22584e4-14e4-4af0-9bbd-aa01a12d3c1f0[2020-11-18 02:00:10 INFO] Level Name: Jungle Temple and Treehouse0[2020-11-18 02:00:10 INFO] Game mode: 0 Survival0[2020-11-18 02:00:10 INFO] Difficulty: 2 NORMAL0[INFO] opening worlds/Jungle Temple and Treehouse/db0[INFO] IPv4 supported, port: 191320[INFO] IPv6 supported, port: 191330[INFO] IPv4 supported, port: 453480[INFO] IPv6 supported, port: 604350[INFO] Server started.0[INFO] Running AutoCompaction...0[INFO] Running AutoCompaction...
0

IonicEcko

Confirmation Status: UnconfirmedConfirmed

IonicEcko

Changed summary:

Log no longer shows date and time when upgrading from 1.16.40 to 1.16.100 Console output not showing date and time

IonicEcko
Kris Birchmore

Added affects versions: 1.16.210 1.16.201 Hotfix 1.16.200

Kris Birchmore

Added affects versions: 1.16.220

Sergio Garcia

Added attachment: useravatar.png

Sergio Garcia

Removed attachment: useravatar.png

[Mojang] Mega_Spud (Jay Wells)

Resolution: UnresolvedFixed

Added affects versions: 1.18.12 Hotfix

Fixed
Kris Birchmore
19
18
Confirmed
440508
1.16.40 - 1.16.2201.16.40 1.16.200 1.16.201 Hotfix 1.16.210 1.16.220
1.18.12 Hotfix