Fixed log4j2 properties.
Change-Id: Ia8daf39625176e59d8b153f09d3fd98e763926af
diff --git a/full/Changes b/full/Changes
index b805ac1..70f836e 100644
--- a/full/Changes
+++ b/full/Changes
@@ -8,6 +8,7 @@
- Added getting username from LDAP (#568)
- Disabled LDAP auth provider and token API in the auth filter (#587)
- Added LDAP log for users without idsC2Profile
+- Fixed log4j2 properties.
# version 0.69.3
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