You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "zhfeng (via GitHub)" <gi...@apache.org> on 2023/03/22 00:29:31 UTC

[GitHub] [shardingsphere] zhfeng opened a new issue, #24727: Refactor LoggingUtils to move out codes related to logback

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

   ## 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?
   When compling quarkus-shardingsphere-jdbc in native mode, I need to exclude `ch.qos.logback` since it could conflict with the quarkus logging libraries, see https://cn.quarkus.io/guides/logging#logging-adapters.
   
   I met some failures like
   ```
   ========================================================================================================================
   GraalVM Native Image: Generating 'quarkus-shardingsphere-jdbc-integration-tests-1.x-999-SNAPSHOT-runner' (executable)...
   ========================================================================================================================
   
   [1/7] Initializing...                                                                                    (0.0s @ 0.46GB)
   Error: Cannot find org.apache.shardingsphere.logging.utils.LoggingUtils.refreshLogger, org.apache.shardingsphere.logging.utils.LoggingUtils can not be loaded, due to ch/qos/logback/core/encoder/Encoder not being available in the classpath. Are you missing a dependency in your classpath?
   com.oracle.svm.core.util.UserError$UserException: Cannot find org.apache.shardingsphere.logging.utils.LoggingUtils.refreshLogger, org.apache.shardingsphere.logging.utils.LoggingUtils can not be loaded, due to ch/qos/logback/core/encoder/Encoder not being available in the classpath. Are you missing a dependency in your classpath?
   
   ```
   
   ### Describe the feature you would like.
   I'd like to do some changes in `LoggingUtils` to move out codes related to logback, it could be `refreshLogger` method which has not been used as far as I know.
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] RaigorJiang closed issue #24727: Refactor LoggingUtils to move out codes related to logback

Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang closed issue #24727: Refactor LoggingUtils to move out codes related to logback
URL: https://github.com/apache/shardingsphere/issues/24727


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org