Skip to content

Commit c66a844

Browse files
committed
logback.xml was not being picked up.
1 parent 9d03363 commit c66a844

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

kafka-connect-http-infra/pom.xml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@
1616
<groupId>org.projectlombok</groupId>
1717
<artifactId>lombok</artifactId>
1818
</dependency>
19+
<dependency>
20+
<groupId>org.slf4j</groupId>
21+
<artifactId>slf4j-api</artifactId>
22+
</dependency>
23+
<dependency>
24+
<groupId>ch.qos.logback</groupId>
25+
<artifactId>logback-core</artifactId>
26+
</dependency>
1927
<dependency>
2028
<groupId>ch.qos.logback</groupId>
2129
<artifactId>logback-classic</artifactId>
@@ -102,10 +110,7 @@
102110
<executable>java</executable>
103111
<mainClass>com.github.castorm.kafka.connect.infra.Debug</mainClass>
104112
<classpathScope>runtime</classpathScope>
105-
<addResourcesToClasspath>true</addResourcesToClasspath>
106-
<additionalClasspathElements>
107-
<additionalClasspathElement>logback.xml</additionalClasspathElement>
108-
</additionalClasspathElements>
113+
<workingDirectory>${project.build.directory}</workingDirectory>
109114
</configuration>
110115
</execution>
111116
</executions>

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@
109109
<artifactId>logback-classic</artifactId>
110110
<version>${logback.version}</version>
111111
</dependency>
112+
<dependency>
113+
<groupId>ch.qos.logback</groupId>
114+
<artifactId>logback-core</artifactId>
115+
<version>${logback.version}</version>
116+
</dependency>
112117

113118
<dependency>
114119
<groupId>org.slf4j</groupId>

0 commit comments

Comments
 (0)