diff options
Diffstat (limited to 'test/mocks/pnfsimulator/src/main/resources')
-rw-r--r-- | test/mocks/pnfsimulator/src/main/resources/application.properties | 1 | ||||
-rw-r--r-- | test/mocks/pnfsimulator/src/main/resources/log4j2.xml | 9 |
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> |