Closed soloturn closed 5 months ago
@soloturn You can have a look at https://github.com/MovingBlocks/Terasology/pull/5022 for some context and motivation.
ah, thank you @jdrueckert ! @keturn writes
logback 1.2 isn't structured in a way that facilitates making complete logback extensions from logback-core alone; you often have to pull in logback-classic to do anything useful.
why you opted to not use logback 1.4 in 2022, and not use something like slf4j appeders addFilter spi or logbacks filter ? i saw the nice syntax of @keturn implementation.
i updated the text of the ticket, removed the asking of the question, und put the log file sizes with this pull request and without,
removed now the usage in the logback.xml config files. still am not able to see the difference in the output with and without. so i think we could merge it what you thnk @jdrueckert ?
unrelated to this PR, as preview, i created one branch merging all the qa stuff, including to use fluent logger interface.
@soloturn This is something I'd like to discuss with the others first, they may recall more details about keturn's effort back then... I'll put it on the agenda for our next meeting this Sunday.
what was the outcome of the meeting @jdrueckert ?
what was the outcome of the meeting @jdrueckert ?
@BenjaminAmos had a closer look at the custom implementation that keturn introduced and the built-in options available. Based on this, we agreed that we can use the built-in options to achieve an equivalent configuration without the custom regex filter that currently blocks the upgrade. We also believe that the upgrade should not impact using the built-in functionality, so we decided that we're good to remove the custom implementation to unblock the upgrade and afterwards go for the upgrade.
RegexFilterAction blocks the upgrade of logback, and blocked logback upgrade blocks upgrade to slf4j-2.x. slf4j-2 additionally provides a fluent logging API.
the affected classes are used test logging and one real, facades/PC:
the test runs produce a sliht difference in size, but i cannot really make out any reasonable difference, on the default checkout, running like this, for branch
default
and[qa/remove-outdated-logback]