• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 0.X How to create server logs on linux?

Santox

New Member
Joined
Feb 28, 2023
Messages
1
Reaction score
0
Hi I need help with serverowych logs. When I use screen ./tfs > log.txt this log.txt is still empty, and when I try ./tfs > log.txt it works but when I close the ssh connection the server goes offline. Thank you very much for any help.
 
If you want to log the output of a screen session, you can do this:
Bash:
screen -L -Logfile log.txt ./tfs

There is a more useful one, which is going to write the timestamp on the log, so this way you can check it later and record when this was loaded:
Bash:
screen -L -Logfile log-$(date +\%Y-\%m-\%d-\%H-\%M-\%S).txt ./tfs
 
Back
Top