Skip to content

Commit bd28d4a

Browse files
authored
xyang-UID2-4653-remove-loki (#216)
* xyang-UID2-4653-remove-loki
1 parent 64734bf commit bd28d4a

File tree

5 files changed

+2
-64
lines changed

5 files changed

+2
-64
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
@@ -24,5 +23,5 @@ USER uid2-core
2423
CMD java \
2524
-Djava.security.egd=file:/dev/./urandom \
2625
-Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory \
27-
-Dlogback.configurationFile=${LOGBACK_CONF} \
26+
-Dlogback.configurationFile=/app/conf/logback.xml \
2827
-jar ${JAR_NAME}-${JAR_VERSION}.jar

conf/logback.loki-e2e.xml

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

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
@@ -127,11 +127,6 @@
127127
<artifactId>logback-classic</artifactId>
128128
<version>1.5.6</version>
129129
</dependency>
130-
<dependency>
131-
<groupId>com.github.loki4j</groupId>
132-
<artifactId>loki-logback-appender</artifactId>
133-
<version>1.5.1</version>
134-
</dependency>
135130
<dependency>
136131
<groupId>commons-codec</groupId>
137132
<artifactId>commons-codec</artifactId>

0 commit comments

Comments
 (0)