space-engineers-ai-spaceship-generator icon indicating copy to clipboard operation
space-engineers-ai-spaceship-generator copied to clipboard

Logs are Huge

Open WarpZephyr opened this issue 1 year ago • 1 comments

Issue type: bug Severity: medium

Describe the issue Logs get rather huge, the log I have currently has: 2,082,250,441 Characters, 133,667 Lines, And it takes up 2000MBs, or 2GBs of memory when open in Notepad++ shown in task manager

To Reproduce Steps to reproduce the behavior:

  1. Make a few generations
  2. See huge log file

Log file I actually can't upload the log file, as it is apparently 1985MBs GitHub says,

Desktop (please complete the following information):

  • OS: Windows 10 Pro
  • Browser: Chrome
  • .exe file name: Spaceship.Generator.v1.0.3.exe

Additional context I made 1 or 2 generations with changing settings, then I upped the Evolution Iterations to 10, Then I did a few more generations, about 3-4 more, and already the log file is huge

WarpZephyr avatar Nov 25 '22 02:11 WarpZephyr

Hi @WarpZephyr, yes, currently the log files tend to grow quite a bit per generation. The reason for it is that, at least during the initial release period, we wanted to have as many information as possible as to what was going on in case something went wrong. The release after the user study is over (only a few days left!) will allow the user to toggle which modules need verbose logging, which will greatly reduce the log files size.

I will keep this issue open until then, and add a quick explanation on how to set it up 😃

gallorob avatar Nov 25 '22 08:11 gallorob

Hi @WarpZephyr, from the next release you will be able to choose which components of the application will contribute to the log. This can be done before the application is launched by editing the configuration file.

Closing now, I'm going to add a wiki page or a paragraph in the README on how to use it.

gallorob avatar Jan 05 '23 17:01 gallorob