From ea3c6f75e3289a667ca8887dc0b176843517060c Mon Sep 17 00:00:00 2001 From: Filip Krzywka Date: Wed, 12 Dec 2018 08:11:30 +0100 Subject: Align logback configuration - followed current logging guidelines in regard of format - in simulators currently very simple (minimalistic) pattern will be used as they do not contain any MDCs or Markers - in main logbacks included three patterns varying on verbosity and human-readability (for production full logging, ie. ONAP_LOG_PATTERN, should be used) - removed logback-test from domain module as it was not enabled anyway (no dependency on logback) and we should never have need for logging in this module - made logback-tests consistent (using simple pattern) except in component-tests, where it might be useful to have more verbose output (including MDCs etc.) Change-Id: Ifd851d12a77d5303b836a25c0e168e18a3a804e9 Issue-ID: DCAEGEN2-1026 Signed-off-by: Filip Krzywka --- .../src/test/resources/logback-test.xml | 54 +++++++++++++--------- 1 file changed, 31 insertions(+), 23 deletions(-) (limited to 'sources/hv-collector-utils/src/test/resources/logback-test.xml') diff --git a/sources/hv-collector-utils/src/test/resources/logback-test.xml b/sources/hv-collector-utils/src/test/resources/logback-test.xml index 9a4eacfe..400b1259 100644 --- a/sources/hv-collector-utils/src/test/resources/logback-test.xml +++ b/sources/hv-collector-utils/src/test/resources/logback-test.xml @@ -1,35 +1,43 @@ + - - + + + + - - %d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX,UTC} %highlight(%-5level) [%-40.40logger{10}] - %msg%n - + ${SIMPLE_LOG_PATTERN} - - - ${FILE_LOG_PATTERN} - - ${LOG_FILE} - - ${LOG_FILE}.%d{yyyy-MM-dd}.log - 50MB - 30 - 10GB - - - - - - + + -- cgit 1.2.3-korg