summaryrefslogtreecommitdiffstats
path: root/test/mocks/pnfsimulator/src/main/resources/log4j2.xml
diff options
context:
space:
mode:
authorPawel Kadlubanski <pawel.kadlubanski@nokia.com>2018-05-11 14:35:43 +0200
committerPawel Kadlubanski <pawel.kadlubanski@nokia.com>2018-05-11 15:39:54 +0200
commit8d0066e435caa66fdd271d14025788299809ab14 (patch)
tree75233ff2a3761eeb0fef4aa6aff05fbd591f2e57 /test/mocks/pnfsimulator/src/main/resources/log4j2.xml
parent5c314cf2ebadece91f9b3745bf1d4e80064bbd70 (diff)
Add pnf simulator
Issue-ID: INT-458 Change-Id: I6fd6b58e5d302d83e4b4e1d1dfd59247a6df9700 Signed-off-by: Pawel Kadlubanski <pawel.kadlubanski@nokia.com>
Diffstat (limited to 'test/mocks/pnfsimulator/src/main/resources/log4j2.xml')
-rw-r--r--test/mocks/pnfsimulator/src/main/resources/log4j2.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/mocks/pnfsimulator/src/main/resources/log4j2.xml b/test/mocks/pnfsimulator/src/main/resources/log4j2.xml
new file mode 100644
index 000000000..250f41709
--- /dev/null
+++ b/test/mocks/pnfsimulator/src/main/resources/log4j2.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Configuration status="WARN">
+ <Properties>
+ <Property name="log4j.logLevel" value="info"/>
+ </Properties>
+ <Appenders>
+ <Console name="Console" target="SYSTEM_OUT">
+ <PatternLayout pattern="%d{ISO8601} +%r [%t] %-5p %c %x - %m%n"/>
+ </Console>
+ <Console name="ColorConsole" target="SYSTEM_OUT">
+ <PatternLayout pattern="%style{%d{ISO8601} +%r}{yellow} %highlight{%-5level}{STYLE=Logback} %style{[%t]}{yellow} %style{%c{1.}}{BRIGHT} %message%n"/>
+ </Console>
+ </Appenders>
+ <Loggers>
+ <Root level="${sys:log4j.logLevel}">
+ <AppenderRef ref="ColorConsole"/>
+ </Root>
+ </Loggers>
+</Configuration>