Skip to content

Commit cd40f06

Browse files
committed
Remove scan="true" from logback.xml files that end up inside JARs
Some of these files end up inside the package due to leiningen scooping up everything in dev-resources in the :base profile. If they end up being found and used during server startup rather than files on disk (such as during builds and tests), they can't be watched with scan="true" since they are read-only inside the JAR. Logback 1.5 will then log directly to stdout which we don't want. We only need scan="true" for files that get laid down by the openvox-server and openvoxdb packages. To be safe, we are removing scan="true" from all logback.xml files in all repos. Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com>
1 parent 9526975 commit cd40f06

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dev-resources/logback.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<configuration scan="true">
1+
<configuration>
22
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
33
<encoder>
44
<pattern>%d %-5p [%c{2}] %m%n</pattern>

examples/java_service/logback.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<configuration scan="true">
1+
<configuration>
22
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
33
<encoder>
44
<pattern>%d %-5p [%c{2}] %m%n</pattern>

0 commit comments

Comments
 (0)