
Shush
This mod provides the ability to completely remove unwanted Minecraft console messages using regular expressions.
Should logs be deleted?
Usually console logs contain important information for troubleshooting problems. If you encounter a constant stream of log messages, first contact the corresponding mod developer! When submitting bug reports, be sure to temporarily disable this mod - mod authors need clean, unaltered logs to identify issues.
So why is this mod needed?
There are situations where the console becomes flooded with numerous messages that don't pose any real threat to game operation. For example, a developer might have forgotten to remove debugging print statements, or errors might be insignificant for your specific case. Sometimes the huge volume of messages can slow down your launcher's performance. Usually you have to put up with this problem, but this mod offers a solution.
How does the mod work?
In the mod's settings, you can define a set of regular expression patterns. Any console message that matches the specified patterns will be automatically blocked and won't appear in the logs. The system works with both regular Log4j messages (format [hh:mm:ss] [thread/LEVEL] [class_path]: text
) and unconventional System.out outputs (these are harder to trace back to a specific mod, but fortunately they occur much less frequently).
What are regular expressions?
Regular expressions (abbreviated as Regex) are special character sequences that allow complex text search and filtering operations. To master and test regular expressions, I recommend using the RegExr.com website.
If there are videos on YouTube or other video hosting platforms in the text, be sure to watch them for better understanding of the functionality.