GameServerManagers / GameServerManagers/LinuxGSM
[Bug]: Enabling logtimestamp stops Terarria console logging
- Dominant language
- Shell
- Stars
- 4.9k
- Forks
- 864
- PR merge metrics
- No merged PRs in 30d
Description
### 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
Contributor guide
Assessment
This issue has not been assessed yet.