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

Re-enable logging when running tests in maven build #1631

Merged

Conversation

stephanr
Copy link
Member

This is the “sledgehammer” method to provide a logger while running JUnit tests.
Needs to be discussed in a TMC meeting because of possible side efects.

pro

  • does not require modification of every module

con

  • does not work when running tests in IDE
  • may interfere with modules which have a logger configured

Probably the only alternative in my opinion is to create a module like deegree-core-test with a src/main/ressources/simplelogger.properties and a compile-time dependency to org.slf4j:slf4j-simple which is manually added to each module (see #1606).

References

closes #1587

@stephanr stephanr added enhancement enhancement or improvement TMC discussion to be discussed by technical management committee members CI and build CI and build system labels Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI and build CI and build system enhancement enhancement or improvement TMC discussion to be discussed by technical management committee members
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-enable logging of SLF4J on tests to make automated test more useful
3 participants