Crytex Posted February 11, 2015 Share Posted February 11, 2015 HelloI am starting a Dedicated Server in off-line mode. In ...\Documents\Klei\DoNotStarveTogether server creating a file log.txtServer working 2 days and that file become having size 650kbThen i am restarting server and that file fully rewriting and his new size now 31kbAnd 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 More sharing options...
Developer MarkL Posted February 12, 2015 Developer Share Posted February 12, 2015 Hey Crytex, We used "svlogd" on Linux to achieve this on our servers. It would be possible for us to add a command line to append to logs, if there is nothing equivalent available for Windows? Link to comment Share on other sites More sharing options...
Crytex Posted February 13, 2015 Author Share Posted February 13, 2015 Hm... i don't know about command like on linux for saving logs... ill try find some info about it.But i think windows have nothing like that Link to comment Share on other sites More sharing options...
Developer nome Posted February 13, 2015 Developer Share Posted February 13, 2015 MarkL Does windows have something like signals? A common paradigm in the linux world is to rotate logs upon receipt of a SIGHUP. Link to comment Share on other sites More sharing options...
Kzisor Posted February 13, 2015 Share Posted February 13, 2015 @nome, I don't believe that windows has such a feature. Windows has Event Logs, but that isn't equivalent to what MarkL was talking about. I've searched and searched the internet to see if I could find something equivalent, but haven't found anything thus far on Windows. Link to comment Share on other sites More sharing options...
Crytex Posted February 14, 2015 Author Share Posted February 14, 2015 MarkL i am also cant find anything usefull for achieve logs on wondows.Maybe if that not a very hard you can add command for achieve logs on windows systems? We all windows users be very happy Link to comment Share on other sites More sharing options...
brainhalt Posted February 16, 2015 Share Posted February 16, 2015 See this post: Dedicated Server Service Install (Windows) Link to comment Share on other sites More sharing options...
Crytex Posted February 20, 2015 Author Share Posted February 20, 2015 brainhalt big thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
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.