TShock icon indicating copy to clipboard operation
TShock copied to clipboard

Saving world data: X% Spam

Open hakusaro opened this issue 2 years ago • 4 comments

Discussed in https://github.com/Pryaxis/TShock/discussions/2559

Originally posted by YehnBeep February 2, 2022 To reduce console/log spam, is there a way to suppress the "Saving world data" and related messages? Or at least reduce it to something like "starting saving" and "finished saving"?

115ish lines every few minutes is rather cumbersome...

hakusaro avatar Feb 03 '22 00:02 hakusaro

As said in the discussion, it would really be nice, since the sudden flood of lines quickly hides potentially important info from the console before having a chance to take a closer look. It doesn't have much of an use either, since the saving process takes less than 10 seconds, so why would you need to be told of each percent increment of the process when it's going to end quickly anyway? EDIT: I don't know if it can be done, but SEconomy displays an ASCII progress bar on console when starting up TShock which shows the db integrity check completion percentage in a single line. Maybe the saving process could be done in a similar way? The old "Saving world, momentary lag could result from this" warning could also return instead, just on console.

Kojirremer avatar Feb 03 '22 01:02 Kojirremer

This was fixed by #2576, can be closed.

drunderscore avatar Mar 26 '22 21:03 drunderscore

@drunderscore it can’t be closed until it’s in general-devel, and it will be automatically closed when it is.

hakusaro avatar Mar 26 '22 22:03 hakusaro

@hakusaro Oops, you're right! Sorry about that, didn't look at the targeting branch...

drunderscore avatar Mar 26 '22 22:03 drunderscore