Skip to content

Commit 1a541dd

Browse files
committed
3.7.3
1 parent 943e4ab commit 1a541dd

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

__release/solon-base-bundle6/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,5 @@
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>

__release/solon-shortcuts-bundle/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
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>

solon-projects/solon-server/solon-server-tomcat/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@
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>

solon-projects/solon-server/solon-server-tomcat/src/main/java/org/noear/solon/server/tomcat/integration/TomcatPlugin.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
import org.noear.solon.server.tomcat.TomcatServerJsp;
4040
import org.slf4j.Logger;
4141
import org.slf4j.LoggerFactory;
42+
import org.slf4j.bridge.SLF4JBridgeHandler;
4243

4344
public 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

0 commit comments

Comments
 (0)