Add src/main/resources/logback.xml #1
15
src/main/resources/logback.xml
Normal file
15
src/main/resources/logback.xml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<configuration>
|
||||||
|
<appender name="LOKI" class="com.github.loki4j.logback.LokiAppender">
|
||||||
|
<loki4j>
|
||||||
|
<batchSize>100</batchSize>
|
||||||
|
<sendQueueSize>10</sendQueueSize>
|
||||||
|
<url>http://192.168.2.31:3100/loki/api/v1/push</url>
|
||||||
|
<labels>
|
||||||
|
<label>app</label><value>jobfindr-jvm</value>
|
||||||
|
</labels>
|
||||||
|
</loki4j>
|
||||||
|
</appender>
|
||||||
|
<root level="INFO">
|
||||||
|
<appender-ref ref="LOKI" />
|
||||||
|
</root>
|
||||||
|
</configuration>
|
||||||
Reference in New Issue
Block a user