-
Notifications
You must be signed in to change notification settings - Fork 485
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 no ark log in ark container #891
Conversation
WalkthroughThe updates encompass enhancements to logging configurations and version upgrades for dependencies in the SOFAArk project. Key changes include the introduction of a mechanism to skip certain configurations, an update to the Changes
Assessment against linked issues
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #891 +/- ##
============================================
+ Coverage 78.74% 78.88% +0.13%
- Complexity 834 837 +3
============================================
Files 164 164
Lines 6799 6796 -3
Branches 1007 1009 +2
============================================
+ Hits 5354 5361 +7
+ Misses 924 912 -12
- Partials 521 523 +2 ☔ View full report in Codecov by Sentry. |
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.
Actionable comments posted: 0
Review Status
Configuration used: CodeRabbit UI
Files selected for processing (4)
- pom.xml (1 hunks)
- sofa-ark-bom/pom.xml (1 hunks)
- sofa-ark-parent/core-impl/archive/src/main/java/com/alipay/sofa/ark/loader/DirectoryContainerArchive.java (1 hunks)
- sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/ArkContainer.java (3 hunks)
Additional Context Used
Additional comments not posted (6)
sofa-ark-parent/core-impl/archive/src/main/java/com/alipay/sofa/ark/loader/DirectoryContainerArchive.java (1)
45-45
: The update oflogback-core
andlogback-classic
versions from1.2.9
to1.2.13
is noted. Ensure compatibility and thorough testing with the rest of the project to avoid potential issues arising from these updates.sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/ArkContainer.java (3)
59-65
: The addition of new constants for logging configuration is a good practice for maintainability and readability. Ensure these constants are used consistently throughout the project.
226-247
: The refactoring of thereInitializeArkLogger
method to handle logging configuration from different sources and set default values is a significant improvement. It enhances the flexibility and maintainability of logging configuration. Ensure thorough testing to validate the behavior with various configurations.
249-253
: The introduction of thefilterAllLogConfig
method to filter log configuration keys based on prefixes is a clean and efficient way to manage logging configurations. This method improves the organization and application of logging settings. Good job on this addition.pom.xml (1)
177-177
: Adding<skip>true</skip>
to themaven-javadoc-plugin
configuration can speed up builds but ensure that this does not impact the generation of Javadocs for release builds where documentation is crucial.sofa-ark-bom/pom.xml (1)
17-17
: Updating thelog.sofa.starter.version
from3.2.0
to3.16.3
is noted. Ensure compatibility with the rest of the project and conduct thorough testing to leverage the newer logging capabilities effectively.
* update logback in ark container * fix ark container log (cherry picked from commit 75fa690)
* netty support 0.9.x (#843) * modify test for zip fill to support jdk9+ * fix export import config * support multi sdk * format test * support netty 0.9 (cherry picked from commit 92daff0) * Update README.md (#846) (cherry picked from commit 815ea32) * support multi sdk (cherry picked from commit 5f7fe98) * format test (cherry picked from commit 0f8c409) * using 0.9 netty (cherry picked from commit 233f6d7) * no lib for netty ark plugin (cherry picked from commit 68c3509) * set scope = provided for netty (cherry picked from commit 957f714) * fix test error "No Ark Container Jar File Found" (cherry picked from commit e6bfade) * fix test error (#854) (cherry picked from commit 917941c) * fix test error (#855) * fix test error * just warn for stop tomcat * fix test error (cherry picked from commit c8c384c) * fix test error (#856) (cherry picked from commit a77b061) * update guava version to aviod guava cache pin problem (#853) * update guava version * update guava version in container jar * remove file --------- Co-authored-by: leo james <leojames.googol@gmail.com> (cherry picked from commit 51ba5e0) * update version * no maven tree when single bundle * update version * Update README.md (#869) (cherry picked from commit 5971b2a) * add log for file not found (cherry picked from commit 0d7ca0c) * simplify artifact id parser (cherry picked from commit 1969cdb) * Update sofa-ark-parent/core-impl/archive/src/test/java/com/alipay/sofa/ark/loader/test/jar/JarUtilsTest.java Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> (cherry picked from commit 8134069) * fix ark plugin (#877) * no export apache for web and netty ark plugin * no lib in ark plugin (cherry picked from commit af25776) * parse artifact id with accuracy first (#878) * no export apache for web and netty ark plugin * no lib in ark plugin * parse artifact id with accuracy first * fix test error (cherry picked from commit e6ab184) * add start class in manifest (#883) * no export apache for web and netty ark plugin * no lib in ark plugin * parse artifact id with accuracy first * fix test error * add start class in manifest * fix test * remove unused field (cherry picked from commit e74c7ea) * <feature> add bizFailedEvent (#881) * <feature> add bizFailedEvent * format * add notes * rename BizFailedEvent to AfterBizFailedEvent * refactor --------- Co-authored-by: leo james <leojames.googol@gmail.com> (cherry picked from commit 1a30e63) * add envs for biz starter (#885) * no export apache for web and netty ark plugin * no lib in ark plugin * parse artifact id with accuracy first * fix test error * add start class in manifest * fix test * remove unused field * add envs for biz start (cherry picked from commit 12d4da4) * add envs for install operation (#887) * add envs for install operation * fix format * fix potential resource leaks when install biz (cherry picked from commit 24bd60d) * set args as empty array when args = null for startup (#888) * add envs for install operation * fix format * fix potential resource leaks when install biz * fix null args throw exception for springboot (cherry picked from commit e4adbcb) * add bizStateChangeLog (#889) * add more info for biz.toString() * format * format * update bizinfo * format * rename to bizStateRecord * format (cherry picked from commit 6659991) * 1、增加zookeeper注册节点环境变量,新增配置参数com.alipay.sofa.ark.config.env。默认为sofa-ark (#890) * 1、增加zookeeper注册节点环境变量,新增配置参数com.alipay.sofa.ark.config.env。默认为sofa-ark 2、升级curator版本,重构NodeCache已过时 * 1、增加zookeeper注册节点环境变量,新增配置参数com.alipay.sofa.ark.config.env。默认为sofa-ark 2、升级curator版本,重构NodeCache已过时 --------- Co-authored-by: leo james <leojames.googol@gmail.com> (cherry picked from commit 5395cbf) * fix no ark log in ark container (#891) * update logback in ark container * fix ark container log (cherry picked from commit 75fa690) * update biz state record name (#892) * update logback in ark container * fix ark container log * modify biz state record name (cherry picked from commit 6412923) * rename typo (#893) * update logback in ark container * fix ark container log * modify biz state record name * format code (cherry picked from commit 6602b96) * update version * code format * remove springboot 1.x 2.x adapter --------- Co-authored-by: g-stream <ylchen.changshu@gmail.com> Co-authored-by: Lipeng <44571204+gaosaroma@users.noreply.github.com> Co-authored-by: hadoop835 <chenjian835@163.com>
* update logback in ark container * fix ark container log (cherry picked from commit 75fa690)
* Update README.md (#869) (cherry picked from commit 5971b2a) * add log for file not found (cherry picked from commit 0d7ca0c) * simplify artifact id parser (cherry picked from commit 1969cdb) * Update sofa-ark-parent/core-impl/archive/src/test/java/com/alipay/sofa/ark/loader/test/jar/JarUtilsTest.java Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> (cherry picked from commit 8134069) * fix ark plugin (#877) * no export apache for web and netty ark plugin * no lib in ark plugin (cherry picked from commit af25776) * parse artifact id with accuracy first (#878) * no export apache for web and netty ark plugin * no lib in ark plugin * parse artifact id with accuracy first * fix test error (cherry picked from commit e6ab184) * add start class in manifest (#883) * no export apache for web and netty ark plugin * no lib in ark plugin * parse artifact id with accuracy first * fix test error * add start class in manifest * fix test * remove unused field (cherry picked from commit e74c7ea) * <feature> add bizFailedEvent (#881) * <feature> add bizFailedEvent * format * add notes * rename BizFailedEvent to AfterBizFailedEvent * refactor --------- Co-authored-by: leo james <leojames.googol@gmail.com> (cherry picked from commit 1a30e63) * add envs for biz starter (#885) * no export apache for web and netty ark plugin * no lib in ark plugin * parse artifact id with accuracy first * fix test error * add start class in manifest * fix test * remove unused field * add envs for biz start (cherry picked from commit 12d4da4) * add envs for install operation (#887) * add envs for install operation * fix format * fix potential resource leaks when install biz (cherry picked from commit 24bd60d) * set args as empty array when args = null for startup (#888) * add envs for install operation * fix format * fix potential resource leaks when install biz * fix null args throw exception for springboot (cherry picked from commit e4adbcb) * add bizStateChangeLog (#889) * add more info for biz.toString() * format * format * update bizinfo * format * rename to bizStateRecord * format (cherry picked from commit 6659991) * 1、增加zookeeper注册节点环境变量,新增配置参数com.alipay.sofa.ark.config.env。默认为sofa-ark (#890) * 1、增加zookeeper注册节点环境变量,新增配置参数com.alipay.sofa.ark.config.env。默认为sofa-ark 2、升级curator版本,重构NodeCache已过时 * 1、增加zookeeper注册节点环境变量,新增配置参数com.alipay.sofa.ark.config.env。默认为sofa-ark 2、升级curator版本,重构NodeCache已过时 --------- Co-authored-by: leo james <leojames.googol@gmail.com> (cherry picked from commit 5395cbf) * fix no ark log in ark container (#891) * update logback in ark container * fix ark container log (cherry picked from commit 75fa690) * update biz state record name (#892) * update logback in ark container * fix ark container log * modify biz state record name (cherry picked from commit 6412923) * rename typo (#893) * update logback in ark container * fix ark container log * modify biz state record name * format code (cherry picked from commit 6602b96) * code format * remove springboot 1.x 2.x adapter * update version --------- Co-authored-by: Lipeng <44571204+gaosaroma@users.noreply.github.com> Co-authored-by: hadoop835 <chenjian835@163.com>
fix #879
Summary by CodeRabbit
log.sofa.starter.version
to3.16.3
for enhanced stability and performance.logback-core
andlogback-classic
versions to1.2.13
.