Skip to content

[Bug]: Enabling logtimestamp stops Terarria console logging #4710

@ptcarino

Description

@ptcarino

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    🆕 New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions