Skip to content

Remove scan="true" from logback.xml files that end up inside JARs#49

Closed
nmburgan wants to merge 1 commit into
mainfrom
fix-logback-scan-in-jar
Closed

Remove scan="true" from logback.xml files that end up inside JARs#49
nmburgan wants to merge 1 commit into
mainfrom
fix-logback-scan-in-jar

Conversation

@nmburgan
Copy link
Copy Markdown
Member

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.

Short description

Checklist

I have:

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>
@nmburgan nmburgan closed this May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant