-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Log4j2 refactor cloud api module #8728
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 refactor cloud api module #8728
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #8728 +/- ##
============================================
+ Coverage 17.46% 17.50% +0.03%
- Complexity 15516 15568 +52
============================================
Files 5913 5914 +1
Lines 529385 529623 +238
Branches 64679 64683 +4
============================================
+ Hits 92448 92695 +247
+ Misses 426518 426481 -37
- Partials 10419 10447 +28
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: Vishesh <vishesh92@gmail.com>
DaanHoogland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm, I think we need to implement some policies on when to log stack traces though. cc @JoaoJandre
JoaoJandre
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLGTM
I think that some guidelines would be good, sadly the discussion regarding this never got traction on the dev mailing list. |
maybe this will work better : #8746 |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✖️ el7 ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 10219 |
DaanHoogland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm generally, but foun d one possible problem
api/src/main/java/org/apache/cloudstack/api/command/admin/vpc/CreateVPCOfferingCmd.java
Outdated
Show resolved
Hide resolved
Co-authored-by: dahn <daan.hoogland@gmail.com>
api/src/main/java/org/apache/cloudstack/api/command/admin/host/UpdateHostCmd.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/apache/cloudstack/api/command/user/firewall/CreateEgressFirewallRuleCmd.java
Outdated
Show resolved
Hide resolved
api/src/main/java/org/apache/cloudstack/api/command/user/network/CreateNetworkACLListCmd.java
Show resolved
Hide resolved
...in/java/org/apache/cloudstack/api/command/user/snapshot/CreateSnapshotFromVMSnapshotCmd.java
Show resolved
Hide resolved
api/src/main/java/org/apache/cloudstack/context/LogContext.java
Outdated
Show resolved
Hide resolved
|
@blueorangutan package |
|
@GutoVeronezi a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 16064 |
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16071 |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian Build Failed (tid-15014) |
|
[SF] Trillian test result (tid-15016)
|
|
@GutoVeronezi , are you satisfied like this or do you want more testing? |
It is fine for me. @JoaoJandre, could you review it again as well? |
api/src/main/java/org/apache/cloudstack/api/command/admin/vm/ImportUnmanagedInstanceCmd.java
Outdated
Show resolved
Hide resolved
|
Left a minor nit |
…mportUnmanagedInstanceCmd.java Co-authored-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
vishesh92
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Description
With the new version of Log4j there is some space for improving log readability using the new features. This PR refactors the logs from the cloud-api module.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
How Has This Been Tested?
I have done some operations on cloudstack to induce the generation of the logs
No problems or changes to the log output were found