aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/pnfsimulator/src/main/resources
diff options
context:
space:
mode:
authorPawel Kadlubanski <pawel.kadlubanski@nokia.com>2018-06-15 16:13:45 +0200
committerPawel Kadlubanski <pawel.kadlubanski@nokia.com>2018-06-15 16:13:45 +0200
commit432696535f996211186269c78e36ab5a6c073997 (patch)
tree50c2209507e6e5335b4f1c11e6f309208900ba77 /test/mocks/pnfsimulator/src/main/resources
parentb1d31973db0cf699ef65d862c2fcf02177aafac5 (diff)
Add netconf support to pnfsimulator.
Issue-ID: INT-458 Change-Id: Iebc9cf2a9f35c92dc354d1c6e857dc8345c1172f Signed-off-by: Pawel Kadlubanski <pawel.kadlubanski@nokia.com>
Diffstat (limited to 'test/mocks/pnfsimulator/src/main/resources')
-rw-r--r--test/mocks/pnfsimulator/src/main/resources/application.properties1
-rw-r--r--test/mocks/pnfsimulator/src/main/resources/log4j2.xml9
2 files changed, 8 insertions, 2 deletions
diff --git a/test/mocks/pnfsimulator/src/main/resources/application.properties b/test/mocks/pnfsimulator/src/main/resources/application.properties
new file mode 100644
index 000000000..888dcec44
--- /dev/null
+++ b/test/mocks/pnfsimulator/src/main/resources/application.properties
@@ -0,0 +1 @@
+server.port=5000 \ No newline at end of file
diff --git a/test/mocks/pnfsimulator/src/main/resources/log4j2.xml b/test/mocks/pnfsimulator/src/main/resources/log4j2.xml
index 250f41709..d3941d32d 100644
--- a/test/mocks/pnfsimulator/src/main/resources/log4j2.xml
+++ b/test/mocks/pnfsimulator/src/main/resources/log4j2.xml
@@ -2,17 +2,22 @@
<Configuration status="WARN">
<Properties>
<Property name="log4j.logLevel" value="info"/>
- </Properties>
+ </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"/>
+ <PatternLayout
+ pattern="%style{%d{ISO8601} +%r}{yellow} %highlight{%-5level}{STYLE=Logback} %style{[%t]}{yellow} %style{%c{1.}}{BRIGHT} %message%n"/>
</Console>
+ <File name="File" fileName="/var/log/pnfsimulator.log">
+ <PatternLayout pattern="%d{ISO8601} +%r [%t] %-5p %c %x - %m%n"/>
+ </File>
</Appenders>
<Loggers>
<Root level="${sys:log4j.logLevel}">
+ <AppenderRef ref="File"/>
<AppenderRef ref="ColorConsole"/>
</Root>
</Loggers>