diff options
author | Titouan BION <titouan.bion@gmail.com> | 2021-02-13 23:25:18 +0100 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2021-02-13 23:40:10 +0100 |
commit | f6a6f8f3e2ba41b44c2e9490b9dc2cc013fa2994 (patch) | |
tree | 0098dd46f883a0baca302e83484199b229d8afb6 /sw-server/build.gradle.kts | |
parent | Rename 'application' label of Prometheus exported metrics to match a more Kub... (diff) | |
download | seven-wonders-f6a6f8f3e2ba41b44c2e9490b9dc2cc013fa2994.tar.gz seven-wonders-f6a6f8f3e2ba41b44c2e9490b9dc2cc013fa2994.tar.bz2 seven-wonders-f6a6f8f3e2ba41b44c2e9490b9dc2cc013fa2994.zip |
Add Loki logback appender to push server logs to the free cloud hosted Loki instance provided by Grafana.com
Diffstat (limited to 'sw-server/build.gradle.kts')
-rw-r--r-- | sw-server/build.gradle.kts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw-server/build.gradle.kts b/sw-server/build.gradle.kts index a129f952..445ae4d8 100644 --- a/sw-server/build.gradle.kts +++ b/sw-server/build.gradle.kts @@ -24,7 +24,8 @@ dependencies { implementation("org.springframework.security:spring-security-messaging") // logging - implementation("ch.qos.logback:logback-classic:1.1.8") + implementation("ch.qos.logback:logback-classic:1.2.3") + implementation("com.github.loki4j:loki-logback-appender:1.0.0") // monitoring / metrics implementation("org.springframework.boot:spring-boot-starter-actuator") |