Skip to content

Commit

Permalink
remove logback RegexFilterAction, not supported any more (#5193)
Browse files Browse the repository at this point in the history
* remove logback RegexFilterAction, not supported any more.

* remove usage of RegexFilterAction, as it is not there any more.
  • Loading branch information
soloturn authored Jan 20, 2024
1 parent 1363a5d commit 3e9b5b6
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 279 deletions.
2 changes: 0 additions & 2 deletions engine-tests/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>

<include resource="org/terasology/engine/logback/filter-reflections.xml" />
</appender>

<!-- JUnit collects console output during test execution
Expand Down
65 changes: 0 additions & 65 deletions engine/src/main/java/org/terasology/logback/RegexEvaluator.java

This file was deleted.

181 changes: 0 additions & 181 deletions engine/src/main/java/org/terasology/logback/RegexFilterAction.java

This file was deleted.

9 changes: 0 additions & 9 deletions engine/src/main/java/org/terasology/logback/package-info.java

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
<resetJUL>true</resetJUL>
</contextListener>

<!-- map <denyRegex> and <requireRegex> xml elements to RegexFilter -->
<newRule pattern="*/appender/denyRegex" actionClass="org.terasology.logback.RegexFilterAction" />
<newRule pattern="*/appender/requireRegex" actionClass="org.terasology.logback.RegexFilterAction" />

<!-- allow include inside appenders (logback 1.2 only enabled Include on the root config by default.) -->
<newRule pattern="*/appender/include" actionClass="ch.qos.logback.core.joran.action.IncludeAction" />
</included>
2 changes: 0 additions & 2 deletions facades/PC/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>

<include resource="org/terasology/engine/logback/filter-reflections.xml" />
</appender>

<root level="${logOverrideLevel:-debug}">
Expand Down
2 changes: 0 additions & 2 deletions templates/module.logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>

<include resource="org/terasology/engine/logback/filter-reflections.xml" />
</appender>

<root level="${logOverrideLevel:-debug}">
Expand Down

0 comments on commit 3e9b5b6

Please sign in to comment.