Categories: GuidesValheim

Logging for people running a dedicated server

Just a tip i'd throw out, if you're running a dedicated server and everything has been running well, you can modify your run script to divert the stdout to a file for an easier troubleshooting experience.

On windows it's done by modifying the .bat you use to run the server by adding

>>file_name_here.txt

at the end of the run line. it would look like this

valheim_server -all_the_regular_info_here >> file_name_here.txt

This will create a new file in the run directory with the output of the console. To capture the errors as well as the output you can run the following:

valheim_server -all_the_regular_info_here >> file_name_here.txt 2>> error_file_name.err

For linux the process is exactly same thankfully, except instead of modifying the .bat file for windows you're modifying the .sh file.

Hope this helps anyone wanting better logging.

Gamer

Share
Published by
Gamer

Recent Posts

Ledx have been so hard for me this wipe

Not being able to craft them sucks. Especially when everyone I talk to about it…

12 months ago

My interesting and unfortunate Gwent life

First I'd like to say I absolutely love this game it's quality. Basically I first…

12 months ago

Teacher Tuesday 12/Dec/2023 – ask your questions here!

Welcome to Teacher Tuesday, a thread where anyone can ask any type of question without…

12 months ago

This games balance is confusing

I’m kind of new/returning to gwent I played beta and obviously it’s a lot lot…

12 months ago

Summary of 10 Days of Draws from Chaffee’s Bundles

Level 1 Bag (Free with Atmosphere Level 2) 6 small consumable (First Aid, Repair, Fire…

12 months ago

Why is my crew at 135%?

Here's my crew - T34-85M - for the life of me I cant figure out…

12 months ago