zhfeng opened a new issue, #24728:
URL: https://github.com/apache/shardingsphere/issues/24728

   ## Feature Request
   
   **For English only**, other languages will not be accepted.
   
   Please pay attention on issues you submitted, because we maybe need more 
details. 
   If no response anymore and we cannot make decision by current information, 
we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Is your feature request related to a problem?
   It is simiar with #24727 and related to logback. I need to re-write 
`DefaultLoggingRuleConfiguration` in native building.
   
   ### Describe the feature you would like.
   Add `getDefaultLoggingRuleConfiguration` in 
`YamlLoggingRuleConfigurationSwapper` like
   ```java
   private LoggingRuleConfiguration getDefaultLoggingRuleConfiguration() {
       return new DefaultLoggingRuleConfigurationBuilder().build();
   }
   ```
   and change 
https://github.com/apache/shardingsphere/blob/dd16be872a0f24d24e147c58041f7f92a34879d9/kernel/logging/core/src/main/java/org/apache/shardingsphere/logging/yaml/swapper/YamlLoggingRuleConfigurationSwapper.java#L45-L47
 with
   
   ```java
   if (null == result.getLoggers()) { 
       result = getDefaultLoggingRuleConfiguration();
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to