You may be having a slight issue with logfile sizes

Started by zgrssd, May 14, 2020, 07:56:40 AM

Previous topic - Next topic

zgrssd

Over on reddit, people started comparing the sizes of their Rimworld logfiles.

One had a Player.log of 402 gigabyte:
https://www.reddit.com/r/RimWorld/comments/gjfp9r/i_see_your_86_gb_output_log_and_raise_you_my_402/

Another had a Player.log of 1.02 terabyte:
https://www.reddit.com/r/RimWorld/comments/gji1oj/rimworld_output_log_i_guess_thats_why_my_hdd_was/

And it looks like the output_log.txt in the Steam Folder is not far behind:
https://www.reddit.com/r/RimWorld/comments/gjdgjl/check_the_size_of_your_output_log/

The culptript is propably a mod that spams the log or just some really long play sessions. Personally I do not have it yet. But you may want to do something about that, like forcing a new logfile to start every 1 GiB or so. Otherwise there might have a slight issues getting those logs in Bug Reports ;)

ison

It's something we need to address, though it's a bit tricky. Unfortunately there's no way to modify Unity's logger and make it stop logging messages from mods after e.g. 1 GB. I guess the only way is to just periodically make the game delete the entire log file if it's too big.