Add src/main/resources/logback.xml #1

Merged
veenm merged 2 commits from logging-loki into main 2025-01-20 10:30:27 +00:00
Showing only changes of commit d63fafc397 - Show all commits

View 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>