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

Change logging framework to Logback and provide autoconfiguration #1783

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

stephanr
Copy link
Member

@stephanr stephanr commented Feb 18, 2025

Change the logging framework from log4j2 to Logback by providing a deegree module that provides configurators for Logback.
This is done by registering a java style deegree default configurator class beside the regular Logback file-based configurator.

So if no Logback configuration was added to the war or configured with a system parameter or environment variable, the deegree auto configurator kicks in and configures console- and file-logging as well as the levels.

This is not yet finished, as the documentation is work in progress and the default settings are not final yet.

TODO:

  • provide section about using a different logging implementation

fixes #1248
closes #1705

References:

stephanr and others added 4 commits February 16, 2025 23:45
+ introduce module deegree-core-logging-autoconfigure
…cit other configuration was found

* configure autoconfiguration with different properties for test environment
- remove now obsolete logback/logging excludes
@stephanr stephanr added enhancement enhancement or improvement in progress TMC discussion to be discussed by technical management committee members dependencies Pull requests that update a dependency (library) core deegree core modules labels Feb 18, 2025
@stephanr stephanr added this to the 3.6 milestone Feb 18, 2025
@tfr42 tfr42 added the breaking breaking change label Feb 19, 2025
@stephanr stephanr changed the title Change logging framwork to Logback an provide autoconfiguration Change logging framework to Logback and provide autoconfiguration Feb 19, 2025
@tfr42
Copy link
Member

tfr42 commented Feb 19, 2025

Also relates to issues #1782 and #1251.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking breaking change core deegree core modules dependencies Pull requests that update a dependency (library) enhancement enhancement or improvement in progress TMC discussion to be discussed by technical management committee members
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reevaluate the use of log4j within the deegree project
2 participants