Skip to content

Commit 3dfeb5c

Browse files
committed
Remove JavaLangAccessUtils and adjust test logging
Deletes the obsolete `JavaLangAccessUtils` helper and its unit test from `microsphere-java-core`. It also adds a module-specific `logback-test.xml` in `microsphere-java-core` for `io.microsphere.logging`, while simplifying the shared `microsphere-java-test` logging config by removing the duplicate logger and `additivity="false"` from root.
1 parent 5839118 commit 3dfeb5c

4 files changed

Lines changed: 8 additions & 109 deletions

File tree

microsphere-java-core/src/main/java/io/microsphere/internal/access/JavaLangAccessUtils.java

Lines changed: 0 additions & 61 deletions
This file was deleted.

microsphere-java-core/src/test/java/io/microsphere/internal/access/JavaLangAccessUtilsTest.java

Lines changed: 0 additions & 43 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<configuration>
2+
3+
<logger name="io.microsphere.logging" level="TRACE" additivity="false">
4+
<appender-ref ref="STDOUT"/>
5+
</logger>
6+
7+
</configuration>

microsphere-java-test/src/main/resources/logback-test.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,12 @@
1717
</encoder>
1818
</appender>
1919

20-
<root level="TRACE" additivity="false">
20+
<root level="TRACE">
2121
<appender-ref ref="FILE"/>
2222
</root>
2323

2424
<logger name="io.microsphere" level="INFO">
2525
<appender-ref ref="STDOUT"/>
2626
</logger>
2727

28-
<logger name="io.microsphere.logging" level="TRACE" additivity="false">
29-
<appender-ref ref="STDOUT"/>
30-
</logger>
31-
3228
</configuration>

0 commit comments

Comments
 (0)