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

Create an SLF4j provider implementation for the Equinox Log #740

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Jan 14, 2025

Currently when running an application with Equinox that uses other logging techniques one has some kind if mixture when it comes to logging as some parts are logging to Equinox Log (especially eclipse platform) and some are logging to something else (e.g. jul, log4j, ...).

A common approach for this is to use bridges that redirect different loggings to one api (e.g. slf4j) and then installing one desired provider to use that for unified logging.

To support such deployments, this now adds a slf4-provider that acts as such provider for slf4j so one can use it with slf4j api and also with such bridges to get a unified logging.

Copy link

github-actions bot commented Jan 14, 2025

Test Results

  666 files  ±0    666 suites  ±0   1h 15m 4s ⏱️ - 2m 6s
2 217 tests ±0  2 170 ✅ ±0   47 💤 ±0  0 ❌ ±0 
6 795 runs  ±0  6 652 ✅ ±0  143 💤 ±0  0 ❌ ±0 

Results for commit 65f1d58. ± Comparison against base commit 2291f9f.

♻️ This comment has been updated with latest results.

Currently when running an application with Equinox that uses other
logging techniques one has some kind if mixture when it comes to logging
as some parts are logging to Equinox Log (especially eclipse platform)
and some are logging to something else (e.g. jul, log4j, ...).

A common approach for this is to use bridges that redirect different
loggings to one api (e.g. slf4j) and then installing one desired
provider to use that for unified logging.

To support such deployments, this now adds a slf4-provider that acts as
such provider for slf4j so one can use it with slf4j api and also with
such bridges to get a unified logging.
@laeubi laeubi force-pushed the equinox_slf4j_integration branch from 6d8ed00 to 65f1d58 Compare January 14, 2025 18:50
@laeubi laeubi requested a review from tjwatson January 14, 2025 18:51
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.

2 participants