-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qa: parametrize logger usages #5181
Conversation
@soloturn let's split out the slf4j upgrade and any lazy log adjustments |
how do you want me to get a commit in here? like this #5182 ? |
you should have permissions to work on branches on the original repo, not your fork 🤔 if this is not the case, please tell me so I can recheck your permissions the idea would be to remove the slf4j upgrade from this branch and open a new PR (targeting |
no right
|
@soloturn you should've received an invitation to the |
eea3a59
to
09d3039
Compare
redone, there is one line less than in the original, failing one. engine/build.gradle stays on slf4j-1.7.36, @jdrueckert. for details see 7f4e40f and #5182. |
09d3039
to
9fabe91
Compare
9fabe91
to
425bbee
Compare
gradle does not care about the logger definition in engine-tests, it uses the one from engine also for the tests. remove it to not confuse.
implementation('org.slf4j:slf4j-api:1.7.36') { | ||
because('a backend-independent Logger') | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@soloturn why are we removing this here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only saw your comment now...
tested, and it is indeed not even used. so remove. also reverted back jul-to-slf4j.
so you're saying we don't use slf4j for our test stuff? interesting... what's used for logging in tests instead then? 🤔
I thought I saw logs in some tests, but maybe I misremember?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
slf4j comes into engine-tests
via engine
whose version wins. a lot of tohers bring slf4j in differing version as well, like gestalt, jnbullet, nui, nui-reflect, nui-gestatl, etc etc says gralde -q dependencies
in folder engine-tests
, in both compile and runtime classpath. i will be more explicit in the commit comment next time, @jdrueckert .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes look mostly stylistic rather than functional. The dependency upgrades seem minor and ideally shouldn't break anything. There shouldn't be much harm in merging this now.
Re-does #5173 (reverting its revert #5180)