Page 1 of 1
3 gig AI log
Posted: 09 Feb 2006, 16:11
by Sheekel
I was transfering Spring to a friends computer (doesnt have internet) and it seemed to be taking much longer than expected. I searched through the map folder, look at all the files, and discovered that the AI log was over 3 gigs in size. Now i realize that logging is necessary but could the log perhaps write over itself with each new log or something so harddrive space isnt wasted? I never would have found this...im sure other people havent either.
Posted: 09 Feb 2006, 17:27
by Cyberwal
Hm, my spring folder is 1.5 GB big, but 1 GB of that are maps

Posted: 09 Feb 2006, 20:23
by AF
You should tell us what AI generated those logs.
I am aware numerous people will have huge NTAI logs, but only because they never cleared out their log files when they upgrade, so all the benefits of the new versions logging features where lost. pre 0.28 logs are vast comapred to the more miniscule logs of post 0.28 which have steadily decreased in size to the point where now I'm considring comrpessing old logs or using bytecode to reresent messages if I wanna get any smaller. (logs in html would swell to huge sizes when combind with overflow errors, however the switch to plaintext reduced sizes by 80% aswell as the fix to the overflow problem meanign average game sizes are more like 35kb than 600kb).
OTAI also used to lgo excessively but came in logging and nonlogging versions, and veylon has since noticed this and toned it down a lot. I think he also added a logfile size limit
Posted: 09 Feb 2006, 22:32
by Veylon
Actually, there is no limit. I have thought about having it end a log and starting a new one when a certain size is reached, but I've never gotten around to it.
The toning down seems to be enough, and if not, they can use the non-logging version.