ZeNyfh / gigavibe-java-edition

Music + Media bot made in java using JDA and Lavaplayer.
GNU General Public License v3.0
8 stars 3 forks source link

Logger/stdout arent ordered correctly sometimes. #154

Closed ZeNyfh closed 3 months ago

ZeNyfh commented 3 months ago

Describe the bug Looking at the times in the console, they seem to be not in the correct order.

Expected behavior The outputs in the console should be in the correct order.

Screenshots image

ZeNyfh commented 3 months ago

Added backlog label as this really isn't important, i believe this only occurs when nothing has been logged for a while. If you wish to fix it, be my guest. This is the commit that caused this bug: https://github.com/ZeNyfh/gigavibe-java-edition/commit/fa93d25aef0241addcd0be790a617e64744dc28c

9382 commented 3 months ago

The changes I made to the logger in 6a80b37 remove some weird gymnastics that used to happen with getting the stream out; this could've inadvertently fixed the bug, but we don't have a consistent error case to know that for sure. Just keep this in mind if you're looking for the bug using this commit onwards

9382 commented 3 months ago

Stared at that screenshot a little closer

and uh

the first print is from the 23rd and the second print is from the 24th

we are both stupid