From a8a2dc9b50eb9f0c067a4524cde9e8a458d5657f Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Sun, 14 Feb 2021 03:05:23 +0100 Subject: Use profiles to avoid sending local logs to Loki --- sw-server/src/main/resources/logback-spring.xml | 47 +++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 sw-server/src/main/resources/logback-spring.xml (limited to 'sw-server/src/main/resources/logback-spring.xml') diff --git a/sw-server/src/main/resources/logback-spring.xml b/sw-server/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..07b9e58e --- /dev/null +++ b/sw-server/src/main/resources/logback-spring.xml @@ -0,0 +1,47 @@ + + + + + + + 1 + 10000 + + https://logs-prod-us-central1.grafana.net/loki/api/v1/push + + ${LOKI_USERNAME} + ${LOKI_PASSWORD} + + 15000 + + + + + timestamp=%date level=%level class=%logger thread=%thread | %msg %ex + + + + + + + + + + + + + + + + + + + + + -- cgit