Fixed log4j2 properties.
Change-Id: Ia8daf39625176e59d8b153f09d3fd98e763926af
diff --git a/full/src/main/resources/log4j2.properties b/full/src/main/resources/log4j2.properties
index 76fd08f..618c58f 100644
--- a/full/src/main/resources/log4j2.properties
+++ b/full/src/main/resources/log4j2.properties
@@ -1,15 +1,15 @@
-#appenders = console, mainFile, ldapFile
-appenders = console, mainFile
+#appenders = console, file, ldapFile
+appenders = console, file
appender.console.type = Console
appender.console.name = STDOUT
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{yyyy-MM-dd, HH:mm:ss} %C{6} - %M%n %-5p: %m%n
-appender.mainFile.type = File
-appender.mainFile.name = MAINLOG
-appender.mainFile.fileName=./logs/main.log
-appender.mainFile.layout.type=PatternLayout
-appender.mainFile.layout.pattern= %d{yyyy-MM-dd, HH:mm:ss} %C{6} - %M%n %-5p: %m%n
+appender.file.type = File
+appender.file.name = MAINLOG
+appender.file.fileName=./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
@@ -19,7 +19,7 @@
rootLogger.level = warn
-rootLogger.appenderRefs = console,mainFile
+rootLogger.appenderRefs = console,file
rootLogger.appenderRef.file.ref = MAINLOG
rootLogger.additivity=true