Shushh
Shushh
This mod provides the ability to completely filter console messages using regular expressions.
Importance of logs
Log entries usually play an important role. If you encounter excessive messages, first contact the relevant mod developer! When submitting a problem report for any modification, be sure to remove Shushh! Mod authors need clean logs for troubleshooting.
Why this mod exists then
Sometimes repetitive messages appear in the console that don't indicate real problems. Perhaps a developer forgot to remove debug output, or the error is unrelated to your situation. Sometimes a large number of entries can even slow down the launcher. Normally you have to put up with this, but this mod offers a solution.
Functionality
In the mod settings, you can define a list of regular expression patterns. Any message matching these patterns will not be output to the console. This works for both standard Log4j
messages (e.g., [hh:mm:ss] [thread/LEVEL] [classpath]: message
), as well as non-standard outputs via System.out
(these are harder to trace to a specific mod, but fortunately they are less common).
What are regular expressions
Regex is short for "Regular Expression". Regular expressions are sequences of characters for working with text data. For experimenting with Regex, it's recommended to use RegExr.com