diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2021-12-27 23:33:50 +0100 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2022-01-11 03:28:25 +0100 |
commit | d668cee395201869011646d5615545ad945fb473 (patch) | |
tree | d92bbd63f27c64dd4be6443fca037f1ab871758a /sw-server/src | |
parent | Upgrade Kotlin to 1.6.10 (diff) | |
download | seven-wonders-d668cee395201869011646d5615545ad945fb473.tar.gz seven-wonders-d668cee395201869011646d5615545ad945fb473.tar.bz2 seven-wonders-d668cee395201869011646d5615545ad945fb473.zip |
Upgrade dependencies
Diffstat (limited to 'sw-server/src')
-rw-r--r-- | sw-server/src/main/resources/logback-spring.xml | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sw-server/src/main/resources/logback-spring.xml b/sw-server/src/main/resources/logback-spring.xml index 07b9e58e..afb338bd 100644 --- a/sw-server/src/main/resources/logback-spring.xml +++ b/sw-server/src/main/resources/logback-spring.xml @@ -2,14 +2,11 @@ <include resource="org/springframework/boot/logging/logback/defaults.xml"/> <include resource="org/springframework/boot/logging/logback/console-appender.xml"/> - <appender name="LOKI" class="com.github.loki4j.logback.InstrumentedLoki4jAppender"> - <!-- - Loki Cloud hosted solution is limiting the batch size to 65536 Bytes, our log lines are exceeding this - limit quite often so we are sending them with a granularity of 1 instead of the default 1000. - The library does not provide a `batchSize` expressed in Bytes yet, so we cannot set it smarter than that. - --> - <batchSize>1</batchSize> + <appender name="LOKI" class="com.github.loki4j.logback.Loki4jAppender"> + <!-- Loki Cloud hosted solution is limiting the batch size to 65536 Bytes --> + <batchMaxBytes>65536</batchMaxBytes> <batchTimeoutMs>10000</batchTimeoutMs> + <metricsEnabled>true</metricsEnabled> <http> <url>https://logs-prod-us-central1.grafana.net/loki/api/v1/push</url> <auth> |