-
Notifications
You must be signed in to change notification settings - Fork 919
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
Add log4j2 template for kyuubi repl commands #6196
Conversation
@@ -55,7 +55,7 @@ | |||
<Root level="INFO"> | |||
<AppenderRef ref="stdout"/> | |||
</Root> | |||
<Logger name="org.apache.kyuubi.ctl.ServiceControlCli" level="error" additivity="false"> |
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.
This class has been removed
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.
since you created a separate log4j2-repl.xml
, do we need such conf in log4j2.xml
then?
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.
since you created a separate
log4j2-repl.xml
, do we need such conf inlog4j2.xml
then?
I think it can be kept because user may not have created log4j2-repl.xml, in which case log4j2.xml can also be used.
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.
SGTM if it works, please manually check it
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.
SGTM if it works, please manually check it
I have tested manually and it works fine.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6196 +/- ##
============================================
- Coverage 58.54% 58.46% -0.09%
Complexity 24 24
============================================
Files 649 649
Lines 39361 39361
Branches 5415 5415
============================================
- Hits 23045 23013 -32
- Misses 13846 13873 +27
- Partials 2470 2475 +5 ☔ View full report in Codecov by Sentry. |
# 🔍 Description ## Issue References 🔗 This pull request fixes # ## Describe Your Solution 🔧 Add log4j2 template for kyuubi repl command. Since I want to add rolling logs for kyuubi server, we need to add independent log4j properties for kyuubi repl command. ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [X] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [X] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6196 from wForget/log4j_repl. Closes #6196 d8d6464 [wforget] newline 10a5b9f [wforget] remove filter a775ee2 [wforget] Add log4j2 template for kyuubi repl command Authored-by: wforget <[email protected]> Signed-off-by: Cheng Pan <[email protected]> (cherry picked from commit 31469fa) Signed-off-by: Cheng Pan <[email protected]>
# 🔍 Description ## Issue References 🔗 This pull request fixes # ## Describe Your Solution 🔧 Add log4j2 template for kyuubi repl command. Since I want to add rolling logs for kyuubi server, we need to add independent log4j properties for kyuubi repl command. ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [X] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [X] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes apache#6196 from wForget/log4j_repl. Closes apache#6196 d8d6464 [wforget] newline 10a5b9f [wforget] remove filter a775ee2 [wforget] Add log4j2 template for kyuubi repl command Authored-by: wforget <[email protected]> Signed-off-by: Cheng Pan <[email protected]>
# 🔍 Description ## Issue References 🔗 This pull request fixes # ## Describe Your Solution 🔧 Add log4j2 template for kyuubi repl command. Since I want to add rolling logs for kyuubi server, we need to add independent log4j properties for kyuubi repl command. ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [X] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [X] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes apache#6196 from wForget/log4j_repl. Closes apache#6196 d8d6464 [wforget] newline 10a5b9f [wforget] remove filter a775ee2 [wforget] Add log4j2 template for kyuubi repl command Authored-by: wforget <[email protected]> Signed-off-by: Cheng Pan <[email protected]> (cherry picked from commit 31469fa)
🔍 Description
Issue References 🔗
This pull request fixes #
Describe Your Solution 🔧
Add log4j2 template for kyuubi repl command.
Since I want to add rolling logs for kyuubi server, we need to add independent log4j properties for kyuubi repl command.
Types of changes 🔖
Test Plan 🧪
Behavior Without This Pull Request ⚰️
Behavior With This Pull Request 🎉
Related Unit Tests
Checklist 📝
Be nice. Be informative.