mrbuilder1961 / ChatPatches

A Minecraft client-side mod that touches up Minecraft's mundane chat, with configurability in mind!
GNU Lesser General Public License v3.0
48 stars 18 forks source link

Log spam after chatlog fills up - 202.5.6 #130

Closed Fluboxer closed 11 months ago

Fluboxer commented 11 months ago

Description

Basically it spams logs with stuff like "[ChatLog.addMessage] ChatLog message capacity has been reached, ignoring message ' 123'" making reading those more miserable than it should be Also chat history can't keep itself and gets lost when you reboot game - after file is full

How to reproduce

I guess all you have to do is to fill limit?

Expected result

I expected it to erase old messages to fit new ones, not to spam warning for EVERY string in chat

Log file link

https://pastebin.com/AiusGjLg

Specs and Details

Optional but suggested information:

Additional context

Noticed it when were checking logs for different issue; it also seems to affect chat history that DO work until you restart game

mrbuilder1961 commented 11 months ago

fix for this will be out soon, in a few days max. however, i did notice in your latest.log there were no messages about quitting the game, did you Alt+F4 out of Minecraft or something? your log ends abruptly, and the chat log is supposed to notify when it has saved which is why i am curious.

Fluboxer commented 11 months ago

I close it normally. May be a linux thing or my distro shenanigans in particular

mrbuilder1961 commented 11 months ago

Do any of your logs have something similar to this at the end?

[18:40:28] [Server thread/INFO]: Saving and pausing game...
[18:40:28] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[18:40:28] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[18:40:28] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[18:40:28] [Server thread/INFO]: MechanicalArcane lost connection: Disconnected
[18:40:28] [Server thread/INFO]: MechanicalArcane left the game
[18:40:28] [Server thread/INFO]: Stopping singleplayer server as player logged out
[18:40:28] [Server thread/INFO]: Stopping server
[18:40:28] [Server thread/INFO]: Saving players
[18:40:28] [Server thread/INFO]: Saving worlds
[18:40:29] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[18:40:32] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[18:40:32] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[18:40:32] [Server thread/INFO]: ThreadedAnvilChunkStorage (New World): All chunks are saved
[18:40:32] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[18:40:32] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[18:40:32] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[18:40:33] [Render thread/INFO]: Stopping!

I'm not sure if this is a problem with Chat Patches or a problem with how your game exits.

Fluboxer commented 11 months ago

Those were here when I did tests and some of them involved going in single-player 2023-11-01-3.log

mrbuilder1961 commented 11 months ago

that's interesting, the chat log saved in that case. this must be something different, but i haven't had this issue so im not sure i could fix it at the moment. as for this issue, it should be fixed in 202.5.7. please reopen it if the issue hasn't fixed, thanks for the report!