summaryrefslogtreecommitdiff
path: root/rules/src/main/resources
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-08-20 23:28:00 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-08-20 23:28:00 +0200
commitec429f152cf1d32a86f5783ed87453b42f7ef190 (patch)
treee872b07b9c59fc911dff06c0fe9abcc69f763405 /rules/src/main/resources
parent61bbddad93ada8f877c26b8d748c8326085d3e3a (diff)
downloadsemantic-sandbox-ec429f152cf1d32a86f5783ed87453b42f7ef190.tar.gz
semantic-sandbox-ec429f152cf1d32a86f5783ed87453b42f7ef190.tar.bz2
semantic-sandbox-ec429f152cf1d32a86f5783ed87453b42f7ef190.tar.xz
semantic-sandbox-ec429f152cf1d32a86f5783ed87453b42f7ef190.zip
o Better STM32 setup.HEADmaster
Diffstat (limited to 'rules/src/main/resources')
-rw-r--r--rules/src/main/resources/log4j2.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/rules/src/main/resources/log4j2.xml b/rules/src/main/resources/log4j2.xml
new file mode 100644
index 0000000..e4f29d0
--- /dev/null
+++ b/rules/src/main/resources/log4j2.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Configuration package="log4j.test" status="WARN">
+<Appenders>
+ <Console name="Console" target="SYSTEM_OUT">
+ <PatternLayout pattern="%markerSimpleName %-5p %C.%M():%L - %msg %ex{full}%n"/>
+ </Console>
+ <File name="Log" fileName="./logs/App.log">
+ <PatternLayout>
+ <Pattern>%markerSimpleName %-5p %C.%M():%L - %msg %ex{full}%n</Pattern>
+ </PatternLayout>
+ </File>
+</Appenders>
+<Loggers>
+ <Root level="trace">
+ <AppenderRef ref="Console"/>
+ <AppenderRef ref="Log"/>
+ </Root>
+ <!--<Logger name="root" level="trace" additivity="false">
+ <AppenderRef ref="Console"/>
+ </Logger>
+ <Logger name="root" level="trace" additivity="false">
+ <AppenderRef ref="Console"/>
+ <AppenderRef ref="Log"/>
+ </Logger>-->
+</Loggers>
+</Configuration>