Skip to content

Commit 77b99d4

Browse files
gaulclaude
andcommitted
Move logback.xml where the assembly looks for it
The assembly copies logback.xml from src/main/config, but the file sat in src/main/resources, so that fileSet had been copying nothing and the config reached the executable jar only as a packaged resource. It also reached the library jar, where logback would offer a consumer's own application this project's logging configuration. Move it, as S3Proxy has it, and keep a copy under src/test/resources so that the tests still log the same way. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M5JVWJN7L3NWmcsYvjeCfc
1 parent 8ed3bbd commit 77b99d4

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

src/test/resources/logback.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<configuration>
2+
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
3+
<encoder>
4+
<pattern>%.-1p %d{MM-dd HH:mm:ss.SSS} %t %c{30}:%L %X{clientId}|%X{sessionId}:%X{messageId}:%X{fileId}] %m%n</pattern>
5+
</encoder>
6+
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
7+
<level>${LOG_LEVEL:-info}</level>
8+
</filter>
9+
</appender>
10+
11+
<logger name="org.eclipse.jetty" level="${JETTY_LOG_LEVEL:-info}" />
12+
13+
<root level="${LOG_LEVEL:-info}">
14+
<appender-ref ref="STDOUT" />
15+
</root>
16+
</configuration>

0 commit comments

Comments
 (0)