LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[Bug]: Enabling logtimestamp stops Terarria console logging

Open ptcarino opened this issue 1 year ago • 0 comments

User story

As an administrator, I want to see / append timestamps for the game server's console output

Game

Terraria

Linux distro

Other

Command

command: start

Further information

Upon setting up the Terraria docker container, I noticed that the game's console logs does not append timestamps. Referencing to _default.cfg i added the cfg entry below to my terrariaserver.cfg to enable the timestamps. Unfortunately, this stops the console logging so my console logs is empty. Disabling logtimestamp makes the log entries appear again.

## Log Parameters
logtimestamp="on"
logtimestampformat="%Y-%m-%d %H:%M:%S"

Relevant log output

No response

Steps to reproduce

  1. enable timestamps by adding logtimestamp="on" to terrariaserver.cfg
  2. run docker compose up -d to run the server
  3. check contents of log/console/terrariaserver-console.log

ptcarino avatar Dec 05 '24 06:12 ptcarino