Open cyberpwnn opened 2 years ago
Same here. Using 1.12.2 and tried different formatting, even just one word, and it did absolutely nothing. Still getting log spam that contains the single word. It's a shame because I desperately need to stop a certain mod from spamming over 100 thousand lines of error messages EVERY TICK. Eventually the log would reach terabtytes in size if I didn't force minecraft to close.
How I made it to work with regexes: Used https://www.freeformatter.com/java-regex-tester.html#before-output
In config:
general {
# A list of strings. If a console message contains any of these, it will be filtered out of the log. [default: ]
S:BasicFilter <
>
# A list of regex patterns. If a console message matches one of these filters they will be removed from the log. [default: ]
S:RegexFilters <
Found[\S ]+This is not recommended, @Mods should be in a separate jar from the coremod\.
(\[Quark\][\S ]+abled)
>
}
So, the first regex did nothing, because sasit didn't load yet. The second one have removed this text:
[01:42:48] [Client thread/INFO] [Quark]: Module decoration is enabled
[01:42:48] [Client thread/INFO] [Quark]: Module automation is enabled
[01:42:48] [Client thread/INFO] [Quark]: Module management is enabled
[01:42:48] [Client thread/INFO] [Quark]: Module tweaks is enabled
[01:42:48] [Client thread/INFO] [Quark]: Module building is enabled
[01:42:48] [Client thread/INFO] [Quark]: Module misc is enabled
[01:42:48] [Client thread/INFO] [Quark]: Module client is enabled
[01:42:48] [Client thread/INFO] [Quark]: Module vanity is enabled
[01:42:48] [Client thread/INFO] [Quark]: Module experimental is disabled
[01:42:48] [Client thread/INFO] [Quark]: Module oddities is enabled
[01:42:48] [Client thread/INFO] [Quark]: Module world is enabled
I'd love access to the actual filtering xmls for log4j on mods that use it. Anyway, I've tried tons of versions, now that I think about it, this mod has never actually worked. I've tried this on latest 1.12.2 and the actual latest version in another pack.
Perhaps better documentation about what this mod can actually filter out would be helpful?
Simple example: