diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-08-20 23:28:00 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-08-20 23:28:00 +0200 |
commit | ec429f152cf1d32a86f5783ed87453b42f7ef190 (patch) | |
tree | e872b07b9c59fc911dff06c0fe9abcc69f763405 /rules/src/main/resources | |
parent | 61bbddad93ada8f877c26b8d748c8326085d3e3a (diff) | |
download | semantic-sandbox-master.tar.gz semantic-sandbox-master.tar.bz2 semantic-sandbox-master.tar.xz semantic-sandbox-master.zip |
Diffstat (limited to 'rules/src/main/resources')
-rw-r--r-- | rules/src/main/resources/log4j2.xml | 26 |
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> |