Skip to content

Commit e1faba9

Browse files
style: update logback configuration and log levels
- Comment out configuration block in logback.xml - Modify log level 'WARNING' to 'WARN' in FlutterLogbackAppender.java
1 parent d628732 commit e1faba9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

android/src/main/assets/logback.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<configuration
1+
<!-- <configuration
22
xmlns="https://tony19.github.io/logback-android/xml"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="https://tony19.github.io/logback-android/xml https://cdn.jsdelivr.net/gh/tony19/logback-android/logback.xsd"
@@ -15,4 +15,4 @@
1515
<root level="DEBUG">
1616
<appender-ref ref="logcat" />
1717
</root>
18-
</configuration>
18+
</configuration> -->

android/src/main/java/com/optimizely/optimizely_flutter_sdk/FlutterLogbackAppender.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ int convertLogLevel(String logLevel) {
5050
case "ERROR":
5151
return 1;
5252
case "WARN":
53-
case "WARNING":
5453
return 2;
5554
case "INFO":
5655
return 3;

0 commit comments

Comments
 (0)