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

Fix #907 (JSON logging broken) #915

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Fix #907 (JSON logging broken) #915

merged 1 commit into from
Oct 13, 2023

Conversation

kschubert
Copy link
Contributor

fixes #907: add missing dependency jakarta.xml.bind-api; lower logstash version from 7.4 to 7.2 - 7.2 is the last version supporting logback 1.2, which is required by Spring and other components

@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Merging #915 (18727fa) into main (f82ca1b) will not change coverage.
Report is 2 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #915   +/-   ##
=========================================
  Coverage     95.53%   95.53%           
  Complexity     1322     1322           
=========================================
  Files            78       78           
  Lines          4273     4273           
  Branches        475      475           
=========================================
  Hits           4082     4082           
  Misses           91       91           
  Partials        100      100           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@TestPropertySource(properties = {
"spring.main.log-startup-info=true",
"spring.profiles.active=json-log",

Copy link
Contributor

@thomasdarimont thomasdarimont Oct 11, 2023

Choose a reason for hiding this comment

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

Would you mind removing the empty line? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@thomasdarimont
Copy link
Contributor

@kschubert thanks for your contribution, would you mind to squash your commits into one for this PR?

- JSON logging requires jakarta.xml.bind-api
- logstash version 7.4 requires logback > 1.2, but Spring requires
  logback 1.2 - logstash needs to be lowered to version 7.2 (last
  version that is compatible to logback 1.2)
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@st3v0rr st3v0rr merged commit 4673b77 into adorsys:main Oct 13, 2023
12 checks passed
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.

Spring profile json-log has stopped working
3 participants