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

Log4j2 JsonLayout support #1559

Merged
merged 15 commits into from Oct 31, 2023
Merged

Log4j2 JsonLayout support #1559

merged 15 commits into from Oct 31, 2023

Conversation

jasonjkeller
Copy link
Contributor

@jasonjkeller jasonjkeller commented Oct 20, 2023

This is a followup to a previous PR that was reverted to address verifier failures: #1545

This PR re-introduces the Log4j2 JsonLayout support but splits Log4j2 instrumentation across two modules.

apache-log4j-2.6 is a new instrumentation modules for older versions of Log4j2 (versions 2.6 - 2.10.0). It's simply a copy of the apache-log4j-2 (versions 2.11.0+) module but with a few tweaks required to avoid verifier failures with those older versions.

@codecov-commenter
Copy link

codecov-commenter commented Oct 20, 2023

Codecov Report

Merging #1559 (02f5527) into main (7435d77) will increase coverage by 0.01%.
Report is 20 commits behind head on main.
The diff coverage is 33.33%.

@@             Coverage Diff              @@
##               main    #1559      +/-   ##
============================================
+ Coverage     70.60%   70.61%   +0.01%     
- Complexity     9794     9799       +5     
============================================
  Files           817      817              
  Lines         39489    39501      +12     
  Branches       5995     5999       +4     
============================================
+ Hits          27880    27894      +14     
+ Misses         8902     8900       -2     
  Partials       2707     2707              
Files Coverage Δ
...newrelic/agent/bridge/logging/AppLoggingUtils.java 87.80% <33.33%> (-2.20%) ⬇️

... and 7 files with indirect coverage changes

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

@meiao meiao self-requested a review October 23, 2023 16:42
@jasonjkeller jasonjkeller merged commit 17309cb into main Oct 31, 2023
102 checks passed
@jasonjkeller jasonjkeller deleted the NR-155391-json-layout-support branch October 31, 2023 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants