Skip to content

Commit c52b915

Browse files
committed
xyang-UID2-4653-remove-loki
1 parent ebe7c69 commit c52b915

File tree

3 files changed

+1
-35
lines changed

3 files changed

+1
-35
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ ARG EXTRA_CONFIG
1111
ENV JAR_NAME=${JAR_NAME}
1212
ENV JAR_VERSION=${JAR_VERSION}
1313
ENV IMAGE_VERSION=${IMAGE_VERSION}
14-
ENV LOGBACK_CONF=${LOGBACK_CONF:-./conf/logback.xml}
1514

1615
COPY ./target/${JAR_NAME}-${JAR_VERSION}-jar-with-dependencies.jar /app/${JAR_NAME}-${JAR_VERSION}.jar
1716
COPY ./target/${JAR_NAME}-${JAR_VERSION}-sources.jar /app
@@ -25,6 +24,6 @@ USER uid2-admin
2524
CMD java \
2625
-Djava.security.egd=file:/dev/./urandom \
2726
-Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory \
28-
-Dlogback.configurationFile=${LOGBACK_CONF} \
27+
-Dlogback.configurationFile=/app/conf/logback.xml \
2928
-Xmx4g \
3029
-jar ${JAR_NAME}-${JAR_VERSION}.jar

conf/logback.loki.xml

Lines changed: 0 additions & 28 deletions
This file was deleted.

pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,6 @@
9494
<artifactId>logback-classic</artifactId>
9595
<version>1.5.8</version>
9696
</dependency>
97-
<dependency>
98-
<groupId>com.github.loki4j</groupId>
99-
<artifactId>loki-logback-appender</artifactId>
100-
<version>1.5.2</version>
101-
</dependency>
10297
<dependency>
10398
<groupId>org.junit.jupiter</groupId>
10499
<artifactId>junit-jupiter</artifactId>

0 commit comments

Comments
 (0)