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.file.type = File
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%xEx%n

appender.ldapFile.type = File
appender.ldapFile.name = 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


rootLogger.level = warn
rootLogger.appenderRefs = console,file
rootLogger.appenderRef.file.ref = MAINLOG
rootLogger.additivity=true

loggers=file, auth, ldap
logger.file.name=de.ids_mannheim.korap
logger.file.level = info
logger.file.appenderRefs = file
logger.file.appenderRef.file.ref = MAINLOG
logger.file.additivity=false

#loggers=file
#logger.console.name=de.ids_mannheim.korap.web.controller.AuthenticationController
#logger.console.level = warn
#logger.console.appenderRefs = file
#logger.console.appenderRef.file.ref = MAINLOG
#logger.console.additivity=false

logger.auth.name=de.ids_mannheim.korap.authentication.KustvaktAuthenticationManager
logger.auth.level = error
logger.auth.appenderRefs = file
logger.auth.appenderRef.file.ref = LDAP_LOG
logger.auth.additivity=false

logger.ldap.name=de.ids_mannheim.korap.authentication.LdapAuth3
logger.ldap.level = info
logger.ldap.appenderRefs = file
logger.ldap.appenderRef.file.ref = LDAP_LOG
logger.ldap.additivity=false