From b6f72cc87b979ccce5e7a7c73305aed47ee2c009 Mon Sep 17 00:00:00 2001 From: Kostya Date: Tue, 18 May 2021 16:23:29 +0300 Subject: [PATCH] Fix logstash (#34) --- .gitignore | 1 + pom.xml | 9 +++---- src/test/resources/logback-test.xml | 37 +++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index fb08ff7..959aa7b 100644 --- a/.gitignore +++ b/.gitignore @@ -76,3 +76,4 @@ fabric.properties # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* env.list +/test.log diff --git a/pom.xml b/pom.xml index 27fbbef..2688e4d 100644 --- a/pom.xml +++ b/pom.xml @@ -31,18 +31,20 @@ postgres postgres cm - 0.3.8 0.1.7 - 0.6.11 1.14.3 + 0.3.8 + + com.rbkmoney + shared-resources + com.rbkmoney custom-metrics-spring-boot-starter - 1.2.0 com.rbkmoney @@ -134,7 +136,6 @@ com.rbkmoney.geck serializer - ${geck.version} test diff --git a/src/test/resources/logback-test.xml b/src/test/resources/logback-test.xml index 3b06361..281efd7 100644 --- a/src/test/resources/logback-test.xml +++ b/src/test/resources/logback-test.xml @@ -3,6 +3,43 @@ + + test.log + + + 5000 + + + + + + + + + + + + { + "@timestamp": "%date{yyy-MM-dd'T'HH:mm:ss.SSSXXX, UTC}", + "@severity": "%level", + "application": "{{ service_name }}" + } + + + + + 20 + true + + + + + + + + + +