From f316199569e3e62bba48ba89aa4a6998dd0909ea Mon Sep 17 00:00:00 2001 From: micdzied Date: Mon, 6 Aug 2018 09:28:01 +0200 Subject: add logback-test Change-Id: Ic9532236edce91d8f9b0283dd3acdf0fe8e7212f Issue-ID: INT-607 Signed-off-by: micdzied --- .../src/test/resources/logback-test.xml | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 test/mocks/pnfsimulator/src/test/resources/logback-test.xml diff --git a/test/mocks/pnfsimulator/src/test/resources/logback-test.xml b/test/mocks/pnfsimulator/src/test/resources/logback-test.xml new file mode 100644 index 000000000..d7966fe60 --- /dev/null +++ b/test/mocks/pnfsimulator/src/test/resources/logback-test.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + %nopexception%logger + |%date{yyyy-MM-dd'T'HH:mm:ss.SSSXXX,UTC} + |%level + |%replace(%replace(%message){'\t','\\\\t'}){'\n','\\\\n'} + |%replace(%replace(%mdc){'\t','\\\\t'}){'\n','\\\\n'} + |%replace(%replace(%rootException){'\t','\\\\t'}){'\n','\\\\n'} + |%replace(%replace(%marker){'\t','\\\\t'}){'\n','\\\\n'} + |%thread + |%n + + + + + + %nopexception%logger + |%date{yyyy-MM-dd'T'HH:mm:ss.SSSXXX,UTC} + |%level + |%replace(%replace(%message){'\t','\\\\t'}){'\n','\\\\n'} + |%replace(%replace(%mdc){'\t','\\\\t'}){'\n','\\\\n'} + |%replace(%replace(%rootException){'\t','\\\\t'}){'\n','\\\\n'} + |%replace(%replace(%marker){'\t','\\\\t'}){'\n','\\\\n'} + |%thread + |%n + + ${log-path}/${outputFilename}.log + + ${log-path}/${outputFilename}.%d{yyyy-MM-dd}.%i.log.zip + ${maxFileSize} + ${maxHistory} + ${totalSizeCap} + + + + + + + + -- cgit 1.2.3-korg