Fix redundant logs and add throwable print.
Change-Id: I401ac0ff7db3d951b0c6129f873a6f07fbd2a9eb
diff --git a/src/main/resources/log4j2.properties b/src/main/resources/data/log4j2.properties
similarity index 98%
rename from src/main/resources/log4j2.properties
rename to src/main/resources/data/log4j2.properties
index 1201846..ed6307e 100644
--- a/src/main/resources/log4j2.properties
+++ b/src/main/resources/data/log4j2.properties
@@ -9,7 +9,7 @@
appender.file.name = MAINLOG
appender.file.fileName=./data/logs/kustvakt.log
appender.file.layout.type=PatternLayout
-appender.file.layout.pattern= %d{yyyy-MM-dd, HH:mm:ss} %C{6} - %M%n %-5p: %m%n
+appender.file.layout.pattern= %d{yyyy-MM-dd, HH:mm:ss} %C{6} - %M%n %-5p: %m%n%xEx%n
appender.ldapFile.type = File
appender.ldapFile.name = LDAP_LOG