Running 7DaysToDie.exe and can't find logs, am I missing something?

I have a bit of an odd setup, as I wanted to be able to play both A20 and A21 without having to manually reinstall every time or switch out configs. I also wanted to keep the saves separate so I don't accidentally corrupt them. I was looking at some guides online on how to do it and right now I have it working where launching it from steam will load up A21 and I have a shortcut of 7DaysToDie.exe on my desktop to launch A20.

I've noticed with the shortcut though, I can't find the log files (It's not in the folder that I told it to put, nor the AppData\Roaming\7DaysToDie\logs folder that A21 puts it in)

My shortcut's target is this:

C:\Users\Neko\Desktop\A20_backup\steamapps-7_Days_To_Die\7DaysToDie.exe -configfile=C:\Users\Neko\Desktop\A20_backup\steamapps-7_Days_To_Die\serverconfig.xml -logfile=C:\Users\Neko\Desktop\A20_backup\roaming-7DaysToDie\logs


and I verified that folder location exists.

It seems the configfile parameter does pull the right serverconfig.xml, so at least something works xD

I have already looked at this thread and tried their suggestion of running the .exe as admin

I've also made sure there's no spaces in my folder names

One thing to note though is the syntax suggested was -logfile (path), instead of -logfile=(path) but I've tried that and it doesn't start up at all for me so i stuck to using the equals symbol





I'm not sure what I'm missing and I can't find much online about it, has anyone gotten the logs to work using the 7DaysToDie.exe and not starting it up through steam?

 
Last edited by a moderator:
Your logfile path needs to have an actual file, and not just the folder.  It's also a bit easier to just inject the new user data folder path into the startup.

"D:\Games\SteamGames\steamapps\common\7 Days To Die - 20.6\7DaysToDie.exe"  -UserDataFolder=E:\SaveGames\a20 -logfile "E:\SaveGames\a20\Logs\log.txt"

It's great too because I only need one client installation, and I can run multiple mods.

Darkness Falls shortcut...
"D:\Games\SteamGames\steamapps\common\7 Days To Die - 20.6\7DaysToDie.exe" -UserDataFolder=E:\SaveGames\DF -logfile "E:\SaveGames\DF\Logs\log.txt"

 
Your logfile path needs to have an actual file, and not just the folder.  It's also a bit easier to just inject the new user data folder path into the startup.

"D:\Games\SteamGames\steamapps\common\7 Days To Die - 20.6\7DaysToDie.exe"  -UserDataFolder=E:\SaveGames\a20 -logfile "E:\SaveGames\a20\Logs\log.txt"

It's great too because I only need one client installation, and I can run multiple mods.

Darkness Falls shortcut...
"D:\Games\SteamGames\steamapps\common\7 Days To Die - 20.6\7DaysToDie.exe" -UserDataFolder=E:\SaveGames\DF -logfile "E:\SaveGames\DF\Logs\log.txt"
Your example helped a lot, thank you!!

I noticed a couple things wrong with how mine was set up

  • It turns out the logs will end up in AppData\LocalLow\The Fun Pimps\7 Days To Die as "Player.log" if not set up correctly (explains why I couldn't search for it, was looking for output_log)
  • configfile syntax wants equals sign, but logfile syntax wants spaces with path in quotes
So this was what worked for me

Code:
C:\Users\Neko\Desktop\A20_backup\steamapps-7_Days_To_Die\7DaysToDie.exe -configfile=C:\Users\Neko\Desktop\A20_backup\steamapps-7_Days_To_Die\serverconfig.xml -logfile "C:\Users\Neko\Desktop\A20_backup\roaming-7DaysToDie\logs\log.txt"
 
Last edited by a moderator:
If you run the launcher - 7dlauncher.exe - it will generate log files. Just make your shortcuts to that exe and not the main exe
Just tried this too, thank you! It seems when I do it this way, it puts the log file in the same location as my A21 game's logfiles. So looks like I got different options to work with :)

 
Just tried this too, thank you! It seems when I do it this way, it puts the log file in the same location as my A21 game's logfiles. So looks like I got different options to work with :)


Yeah both ways work, adding the parameter Sylen said helps with organizing. Which I have certainly not slacked off on, nope, all organized and non chaotic. Lol, but yeah if you have a version you just randomly use, the launcher is a sure bet.

 
Back
Top