Skip to content
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

[1F4aew1T] Uses slf4j-api 2.x api instead of slf4j-simple 1.x #480

Merged
merged 2 commits into from Aug 23, 2023

Conversation

ncordon
Copy link
Collaborator

@ncordon ncordon commented Aug 23, 2023

Why

Because the logger was colliding with the jetty one included in coredb, showing output like:

[main] INFO org.eclipse.jetty.server.Server - jetty-10.0.15; built: 2023-04-11T17:25:14.480Z; git: 68017dbd00236bb7e187330d7585a059610f661d; jvm 17.0.8+7
[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.h.MovedContextHandler@eae9533{/,null,AVAILABLE}
[main] INFO org.eclipse.jetty.server.session.DefaultSessionIdManager - Session workerName=node0
[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@77dae14e{/dbms,null,AVAILABLE}

@@ -64,6 +64,8 @@ public void check_basic_deployment() {
assertTrue(functionCount > 0);
assertTrue(coreCount > 0);
// Check there's one and only one logger for apoc inside the container
// and it doesn't override the one inside the database
assertFalse(startupLog.contains("[main] INFO org.eclipse.jetty.server.Server"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking on the two log output versions in the descriptions of this PR, both contains this?

Copy link
Collaborator Author

@ncordon ncordon Aug 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I misread the ticket https://trello.com/c/1F4aew1T, the output does not have to appear at all, which is what this test is checking. I've updated the PR description.

@ncordon ncordon merged commit 66fed58 into dev Aug 23, 2023
15 checks passed
@ncordon ncordon deleted the upgrade-slf4j-api-logger branch August 23, 2023 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants