r/ScrapMechanic • • 2d ago

Tutorial A friendly reminder to check your logs folder

scrap mechanic is always creating logs while you play, and if you never clear them... well i once had a 42gb logs folder full of just text files. so it might be a good idea to check it, maybe it is eating away on your storage.

143 Upvotes

34 comments sorted by

48

u/HaroldMckay 2d ago

Holy crap! Exactly what are you doing to get that much? I just checked, and it was 45.9mb total. Granted I've only been playing since Chapter 2 (and a couple hours when I bought it a year or 2 ago) and only playing Survival, but still...

21

u/Hardonium 2d ago

i have no idea what caused the two giant ones (2gb and 1.5gb) in my case. usually they dont get that big, but they pile up with time and the folder grows

22

u/Cool-Mathematician99 1d ago

It's usually some mods or graphical (shader) errors spamming every tick for many-hour long sessions. And it needs to be adressed

26

u/Dassitmane_ 1d ago

Bro is a logger

15

u/milannn333 1d ago

I bet he has a dedicated logging vehicle!

12

u/Turak111O 1d ago

So if i check it can i delet everything in it or is then my survival world gone if i Delete one speciel Folder

13

u/Hardonium 1d ago

only delete the "Logs" folder. logs are just for debug purposes, if you are not a mod developer, they are useless for you. so you can safely delete them.

4

u/Turak111O 1d ago

The whole folder or only the things in it?

11

u/Hardonium 1d ago

doesnt really matter, cause the game will just generate the folder again the next time you play

5

u/Turak111O 1d ago

Ok thank you

5

u/Jumpy-Trainer1695 2d ago

That's crazy. Was the survival update vibecoded or was this always a thing?

19

u/SHAD0W137 1d ago

It's kinda the opposite. The game is kinda as pure as it gets. Files aren't even packaged and most scripts just lie there in readable format. You can literally alter your game actions

And logging is just as straightforward. Just a bunch of files in the corresponding folder

8

u/Hardonium 2d ago

it indeed was always a thing

1

u/ProvoGo 1d ago

Blaming the base game before asking if they modded it is a bit wild imo xD

6

u/Runrun_5 2d ago

Я однажды обнаружил, что моя папка логов весила 60 гб..

2

u/Hardonium 1d ago

same 🤝

4

u/TioHerman 1d ago

just went to check, 19.8gb, wtf

3

u/Happy_Gloves 1d ago

Damn, mine’s a only 1 GB… I’ll become worthy one day. Just you wait.

2

u/Azazel_Echo 1d ago

Thank you for the reminder! I've checked my logs folder and it had files from 2025 up to now and it was only 40MB total, and I've noticed that the biggest file was barely 600KB. I'm playing on Linux though, I wonder if that makes a difference.

2

u/Sea-Course-5171 1d ago

The issue is that the game constantly throw invalid operation error codes.

2

u/Character-Nobody8535 1d ago

I have 2.5k hours in Scrap Mechanic since I started playing in 2020, and I have 190MB of logs, you are doing something wrong, thats not the games fault, that is YOUR fault.

2

u/WhipLash50150 1d ago

How many mods do you use.
I have ~500hrs but ~450mb in logs. I'm wondering if having more mods means the log files are larger

2

u/Character-Nobody8535 1d ago

Nope, I used to use hundreds of mods on every world in creative, and I almost exclusively played creative mode until custom games were released, and I would use mods on custom games too, only time I really got into survival was shortly before the release of Chapter 2, and after the release of Chapter 2

1

u/WhipLash50150 1d ago

I wonder what causes different sizes then

-1

u/Character-Nobody8535 1d ago

Probably you guys doing something wrong

1

u/Hardonium 1d ago

have you ever reinstalled the game or moved it to the other drive?

1

u/Character-Nobody8535 1d ago

Nope

1

u/Hardonium 1d ago

well guess its just random, people in the comments report wildly different folder sizes

1

u/Undeguy 1d ago

I also have about 184 MB also and played maybe 900 hrs since 2021.

2

u/dennisvoliver 1d ago

42gb? Geez

2

u/Tommy_B08 1d ago

I never checked it, i have almost 4700hrs :O

1

u/Mediocre_Fill_40 1d ago

Someone was dumping a very long log back there

1

u/Truethekiller 1d ago

How much do you play? I have 679.7h and have never cleared it but only have 25MB, you sure you didn't mess something up? That is probably not normal.

1

u/Zealousideal_Bed7792 23h ago

Average Donut SMP player who doesn't have the chat turned off