File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed
solon-projects/solon-server/solon-server-tomcat
src/main/java/org/noear/solon/server/tomcat/integration Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 3737 <module >../../solon-projects/solon-server/solon-server-websocket-netty</module >
3838 <module >../../solon-projects/solon-server/solon-server-socketd</module >
3939
40- <module >../../solon-projects/solon-tool/solon-maven-plugin</module >
41- <module >../../solon-projects/solon-tool/solon-configuration-processor</module >
4240 </modules >
4341</project >
Original file line number Diff line number Diff line change 2020 <module >../../solon-shortcuts/solon-lib</module >
2121 <module >../../solon-shortcuts/solon-web</module >
2222
23+ <module >../../solon-projects/solon-tool/solon-maven-plugin</module >
24+ <module >../../solon-projects/solon-tool/solon-configuration-processor</module >
25+
2326 <!-- 弃用 -->
2427 <module >../../solon-projects/solon-boot/solon-boot</module >
2528 <module >../../solon-projects/solon-boot/solon-boot-jdkhttp</module >
Original file line number Diff line number Diff line change 2626 <artifactId >solon-web-servlet</artifactId >
2727 </dependency >
2828
29+ <dependency >
30+ <groupId >org.slf4j</groupId >
31+ <artifactId >jul-to-slf4j</artifactId >
32+ <version >${slf4j.version} </version >
33+ </dependency >
34+
2935 <dependency >
3036 <groupId >org.apache.tomcat.embed</groupId >
3137 <artifactId >tomcat-embed-core</artifactId >
Original file line number Diff line number Diff line change 3939import org .noear .solon .server .tomcat .TomcatServerJsp ;
4040import org .slf4j .Logger ;
4141import org .slf4j .LoggerFactory ;
42+ import org .slf4j .bridge .SLF4JBridgeHandler ;
4243
4344public final class TomcatPlugin implements Plugin {
4445 static final Logger log = LoggerFactory .getLogger (TomcatPlugin .class );
@@ -81,6 +82,9 @@ public void postStart() throws Throwable {
8182 }
8283
8384 private void start0 (AppContext context ) throws Throwable {
85+ SLF4JBridgeHandler .removeHandlersForRootLogger ();
86+ SLF4JBridgeHandler .install ();
87+
8488 //初始化属性
8589 ServerProps .init ();
8690
You can’t perform that action at this time.
0 commit comments