Skip to content

Commit

Permalink
refactoring: solving logback deprecation, using 'class' instead of 'c…
Browse files Browse the repository at this point in the history
…onverterClass'
  • Loading branch information
giulong committed Aug 21, 2024
1 parent 1797be1 commit a2decbd
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion it-appium/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<conversionRule conversionWord="colored" converterClass="io.github.giulong.spectrum.internals.ColoredConverter" />
<conversionRule conversionWord="colored" class="io.github.giulong.spectrum.internals.ColoredConverter" />
<property name="PATTERN" value="%d{HH:mm:ss.SSS} %.-1level %-30.30logger{0} | %msg%nopex%n"/>
<property name="COLOR_PATTERN" value="%d{HH:mm:ss.SSS} %colored(%.-1level %-30.30logger{0} | %msg%nopex%n)"/>
<property name="FILE_PATH" value="${spectrum.log.path:-target/spectrum/logs}"/>
Expand Down
2 changes: 1 addition & 1 deletion it-grid/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<conversionRule conversionWord="colored" converterClass="io.github.giulong.spectrum.internals.ColoredConverter" />
<conversionRule conversionWord="colored" class="io.github.giulong.spectrum.internals.ColoredConverter" />
<property name="PATTERN" value="%d{HH:mm:ss.SSS} %.-1level %-30.30logger{0} | %msg%nopex%n"/>
<property name="COLOR_PATTERN" value="%d{HH:mm:ss.SSS} %colored(%.-1level %-30.30logger{0} | %msg%nopex%n)"/>
<property name="FILE_PATH" value="${spectrum.log.path:-target/spectrum/logs}"/>
Expand Down
2 changes: 1 addition & 1 deletion it-macos/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<conversionRule conversionWord="colored" converterClass="io.github.giulong.spectrum.internals.ColoredConverter" />
<conversionRule conversionWord="colored" class="io.github.giulong.spectrum.internals.ColoredConverter" />
<property name="PATTERN" value="%d{HH:mm:ss.SSS} %.-1level %-30.30logger{0} | %msg%nopex%n"/>
<property name="COLOR_PATTERN" value="%d{HH:mm:ss.SSS} %colored(%.-1level %-30.30logger{0} | %msg%nopex%n)"/>
<property name="FILE_PATH" value="${spectrum.log.path:-target/spectrum/logs}"/>
Expand Down
2 changes: 1 addition & 1 deletion it-testbook/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<conversionRule conversionWord="colored" converterClass="io.github.giulong.spectrum.internals.ColoredConverter" />
<conversionRule conversionWord="colored" class="io.github.giulong.spectrum.internals.ColoredConverter" />
<property name="PATTERN" value="%d{HH:mm:ss.SSS} %.-1level %-30.30logger{0} | %msg%nopex%n"/>
<property name="COLOR_PATTERN" value="%d{HH:mm:ss.SSS} %colored(%.-1level %-30.30logger{0} | %msg%nopex%n)"/>
<property name="FILE_PATH" value="${spectrum.log.path:-target/spectrum/logs}"/>
Expand Down
2 changes: 1 addition & 1 deletion it/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<conversionRule conversionWord="colored" converterClass="io.github.giulong.spectrum.internals.ColoredConverter" />
<conversionRule conversionWord="colored" class="io.github.giulong.spectrum.internals.ColoredConverter" />
<property name="PATTERN" value="%d{HH:mm:ss.SSS} %.-1level %-30.30logger{0} | %msg%nopex%n"/>
<property name="COLOR_PATTERN" value="%d{HH:mm:ss.SSS} %colored(%.-1level %-30.30logger{0} | %msg%nopex%n)"/>

Expand Down
2 changes: 1 addition & 1 deletion spectrum/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<conversionRule conversionWord="colored" converterClass="io.github.giulong.spectrum.internals.ColoredConverter" />
<conversionRule conversionWord="colored" class="io.github.giulong.spectrum.internals.ColoredConverter" />
<property name="PATTERN" value="%d{HH:mm:ss.SSS} %.-1level %-30.30logger{0} | %msg%n"/>
<property name="COLOR_PATTERN" value="%d{HH:mm:ss.SSS} %colored(%.-1level %-30.30logger{0} | %msg%n)"/>
<property name="FILE_PATH" value="${spectrum.log.path:-target/spectrum/logs}"/>
Expand Down
2 changes: 1 addition & 1 deletion spectrum/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<conversionRule conversionWord="colored" converterClass="io.github.giulong.spectrum.internals.ColoredConverter" />
<conversionRule conversionWord="colored" class="io.github.giulong.spectrum.internals.ColoredConverter" />
<property name="PATTERN" value="%d{HH:mm:ss.SSS} %.-1level %-30.30logger{0} | %msg%nopex%n"/>
<property name="COLOR_PATTERN" value="%d{HH:mm:ss.SSS} %colored(%.-1level %-30.30logger{0} | %msg%nopex%n)"/>

Expand Down

0 comments on commit a2decbd

Please sign in to comment.