Skip to content

Commit 99c16cf

Browse files
authored
xyang-UID2-4653-remove-loki (#373)
* xyang-UID2-4653-remove-loki
1 parent a769619 commit 99c16cf

File tree

4 files changed

+2
-36
lines changed

4 files changed

+2
-36
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.

conf/logback.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</encoder>
88
</appender>
99

10-
<root level="debug">
10+
<root level="INFO">
1111
<appender-ref ref="STDOUT" />
1212
</root>
1313
</configuration>

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)