Jump to content

Recommended Posts

I'm working on a server side mod that records detailed info about the game state for later analysis. How can I write game state information to a log file somewhere on the server? I haven't found it in any of the tutorials or mod examples I've looked at but figured some devs here might know how

Link to comment
https://forums.kleientertainment.com/forums/topic/120330-writing-to-log-files/
Share on other sites

You can then access it in C:\Users\user\Documents\Klei\DoNotStarveTogether\client_log.txt  (I put a shortcut to this on my desktop since I use it all the time for the error traceback)

If you're printing in a dedicated server or a world with caves, you might find something in C:\Users\user\Documents\Klei\DoNotStarveTogetherDedicated\Cluster_1\Master\server_log.txt

Edited by rawii22

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...