Jump to content

How to turn-off a rewrite of log.txt?


Recommended Posts

Hello

I am starting a Dedicated Server in off-line mode. 

In ...\Documents\Klei\DoNotStarveTogether server creating a file log.txt

Server working 2 days and that file become having size 650kb

Then i am restarting server and that file fully rewriting and his new size now 31kb

And how a result i am loosing all log data.

 

Any chances turn-off rewrite of log.txt via command line or any others ways?

 

Ill trying add in command line that

-logFile "C:\Klei\DoNotStarveTogether\1.txt"

-log "C:\Klei\DoNotStarveTogether\1.txt"

But that don't work...

 

Be great have a possibility:

1. After server start he creating a new file with a unique or special file name.

2. After server restarting he still adding all data in old log.txt file.

 

Main goal - don't loosing log data.

 

Thank you.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...