Setup logs files to be generated inside the data folder (#598)
Change-Id: Ie7565b65f4414166b749b9b8181a6d6812b9a6a2
diff --git a/src/main/resources/log4j2.properties b/src/main/resources/log4j2.properties
index 618c58f..dabe381 100644
--- a/src/main/resources/log4j2.properties
+++ b/src/main/resources/log4j2.properties
@@ -7,13 +7,13 @@
appender.file.type = File
appender.file.name = MAINLOG
-appender.file.fileName=./logs/kustvakt.log
+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.ldapFile.type = File
#appender.ldapFile.name = LDAP_LOG
-#appender.ldapFile.fileName=./logs/ldap.log
+#appender.ldapFile.fileName=./data/logs/ldap.log
#appender.ldapFile.layout.type=PatternLayout
#appender.ldapFile.layout.pattern= %d{yyyy-MM-dd, HH:mm:ss} %C{6} - %M%n %-5p: %m%n