jiangML opened a new issue, #23508: URL: https://github.com/apache/shardingsphere/issues/23508
## Feature Request **For English only**, other languages will not accept. 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? + In order to avoid dependency conflicts between `slf4j`, `logback` and the application, isolation is required. + `slf4j` and `logback` do not need shade processing. ### Describe the feature you would like. The current `Agent` directory structure is as follows. ``` shell ├── LICENSE ├── NOTICE ├── conf │ └── agent.yaml ├── lib │ ├── shardingsphere-agent-metrics-core-5.3.2-SNAPSHOT.jar │ └── shardingsphere-agent-plugin-core-5.3.2-SNAPSHOT.jar ├── plugins │ ├── logging │ │ └── shardingsphere-agent-logging-file-5.3.2-SNAPSHOT.jar │ ├── metrics │ │ └── shardingsphere-agent-metrics-prometheus-5.3.2-SNAPSHOT.jar │ └── tracing │ ├── shardingsphere-agent-tracing-jaeger-5.3.2-SNAPSHOT.jar │ ├── shardingsphere-agent-tracing-opentelemetry-5.3.2-SNAPSHOT.jar │ ├── shardingsphere-agent-tracing-opentracing-5.3.2-SNAPSHOT.jar │ └── shardingsphere-agent-tracing-zipkin-5.3.2-SNAPSHOT.jar └── shardingsphere-agent-5.3.2-SNAPSHOT.jar ``` The adjusted package structure needs to be as follows. ```shell ├── LICENSE ├── NOTICE ├── conf │ ├── agent.yaml │ └── logback.xml ├── lib │ ├── logback-classic-1.2.11.jar │ ├── logback-core-1.2.11.jar │ └── slf4j-api-1.7.36.jar ├── plugins │ ├── lib │ │ ├── shardingsphere-agent-metrics-core-5.3.2-SNAPSHOT.jar │ │ └── shardingsphere-agent-plugin-core-5.3.2-SNAPSHOT.jar │ ├── logging │ │ └── shardingsphere-agent-logging-file-5.3.2-SNAPSHOT.jar │ ├── metrics │ │ └── shardingsphere-agent-metrics-prometheus-5.3.2-SNAPSHOT.jar │ └── tracing │ ├── shardingsphere-agent-tracing-jaeger-5.3.2-SNAPSHOT.jar │ ├── shardingsphere-agent-tracing-opentelemetry-5.3.2-SNAPSHOT.jar │ ├── shardingsphere-agent-tracing-opentracing-5.3.2-SNAPSHOT.jar │ └── shardingsphere-agent-tracing-zipkin-5.3.2-SNAPSHOT.jar └── shardingsphere-agent-5.3.2-SNAPSHOT.jar ``` + The `lib` directory stores the dependencies required by the `Agent`. It is currently used to store `slf4j` and `logback`, and is used to realize the log function in `Agent`. + The `plugins/lib` stores the common dependencies of plugins. + Add `conf/logback.xml` file to configure `Agent` log output. -- 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]
