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

Upgrade to Jetty 11 #883

Merged
merged 3 commits into from
May 6, 2024
Merged

Upgrade to Jetty 11 #883

merged 3 commits into from
May 6, 2024

Conversation

tobias
Copy link
Member

@tobias tobias commented May 5, 2024

Make event component more resilient

If we run in to an error starting the system during development, we may
try to stop this component before it has started. This guards against
errors when doing that.

Upgrade to Jetty 11

This upgrades us to ring 1.11, which moves from Jetty 9 to Jetty 11.
This includes using a fork of cognitect's http-client that works with
Jetty 11's client impl.

Directly depend on slf4j-api

This is a bit of a mystery: if we let slf4j-api come in via a transitive
dependency, our logback.xml file is ignored (at least in dev & test), so
all logging goes to stdout. clojure.tools.logging is finding slj4j-api
in both cases, but logback does not get initialized in the case where
this isn't a top-level dep.

I have no idea why this is happening! Logging is terrible.

tobias added 3 commits May 5, 2024 17:45
If we run in to an error starting the system during development, we may
try to stop this component before it has started. This guards against
errors when doing that.
This upgrades us to ring 1.11, which moves from Jetty 9 to Jetty 11.
This includes using a fork of cognitect's http-client that works with
Jetty 11's client impl.
This is a bit of a mystery: if we let slf4j-api come in via a transitive
dependency, our logback.xml file is ignored (at least in dev & test), so
all logging goes to stdout. clojure.tools.logging is finding slj4j-api
in both cases, but logback does not get initialized in the case where
this isn't a top-level dep.

I have no idea why this is happening! Logging is terrible.
@tobias tobias merged commit 66d68b6 into main May 6, 2024
1 check passed
@tobias tobias deleted the tobias/upgrade-to-jetty-11 branch May 6, 2024 07:02
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.

1 participant