-
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
add logging.file.path to get config from user app config #894
Conversation
WalkthroughThe recent updates focus on enhancing documentation linting configurations, refining log configuration filtering, and improving the flexibility of the Changes
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 #894 +/- ##
============================================
+ Coverage 78.72% 78.85% +0.13%
Complexity 836 836
============================================
Files 164 164
Lines 6796 6796
Branches 1009 1009
============================================
+ Hits 5350 5359 +9
+ Misses 923 912 -11
- Partials 523 525 +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 (5)
- pom.xml (1 hunks)
- sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/ArkContainer.java (1 hunks)
- sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java (3 hunks)
- sofa-ark-parent/core-impl/container/src/test/java/com/alipay/sofa/ark/container/model/BizModelTest.java (2 hunks)
- sofa-ark-parent/core/spi/src/main/java/com/alipay/sofa/ark/spi/model/BizInfo.java (2 hunks)
Additional Context Used
Additional comments not posted (5)
sofa-ark-parent/core-impl/container/src/test/java/com/alipay/sofa/ark/container/model/BizModelTest.java (1)
59-59
: The change fromCopyOnWriteArrayList
toList
forchangeLogs
increases flexibility in choosing the list implementation. Ensure that if concurrent modifications tochangeLogs
are expected, an appropriate thread-safe implementation ofList
is used to maintain thread safety.sofa-ark-parent/core/spi/src/main/java/com/alipay/sofa/ark/spi/model/BizInfo.java (1)
130-130
: Changing the return type ofgetBizStateRecords
toList<BizStateRecord>
increases flexibility but removes the implicit thread-safety guarantee provided byCopyOnWriteArrayList
. Consider documenting the thread safety expectations of the returnedList
to guide consumers of this method.sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/ArkContainer.java (1)
253-253
: The addition of the"logging.file.path"
condition in thefilterAllLogConfig
method aligns with the objective to enhance logging configuration capabilities. Ensure that this new configuration key is well-documented and its usage is consistent with the rest of the logging configuration system.pom.xml (1)
177-177
: Replacing<skip>true</skip>
with<doclint>none</doclint>
in themaven-javadoc-plugin
configuration makes documentation linting more lenient by disabling doclint checks. Consider the trade-offs of this approach, especially in terms of the potential impact on the quality and consistency of Javadoc comments.sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java (1)
64-106
: Changing various fields' access levels from private to protected and the type ofbizStateRecords
fromCopyOnWriteArrayList<BizStateRecord>
toList<BizStateRecord>
enhances flexibility and maintainability. However, ensure that the increased access level does not lead to unintended modifications and that thread safety is considered forbizStateRecords
if accessed concurrently.
Summary by CodeRabbit
BizModel
class to improve accessibility and flexibility of various fields.