#
# Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
#
#  WSO2 Inc. licenses this file to you under the Apache License,
#  Version 2.0 (the "License"); you may not use this file except
#  in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing,
#  software distributed under the License is distributed on an
#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
#  KIND, either express or implied.  See the License for the
#  specific language governing permissions and limitations
#  under the License.
#

# list of all appenders
#add entry "syslog" to use the syslog appender
appenders = CARBON_CONSOLE, CARBON_LOGFILE, AUDIT_LOGFILE, CORRELATION, ATOMIKOS_LOGFILE, CARBON_TRACE_LOGFILE, DELETE_EVENT_LOGFILE, TRANSACTION_LOGFILE, osgi, DIAGNOSTICS
#, syslog

# CARBON_CONSOLE is set to be a ConsoleAppender using a PatternLayout.
appender.CARBON_CONSOLE.type = Console
appender.CARBON_CONSOLE.name = CARBON_CONSOLE
appender.CARBON_CONSOLE.layout.type = PatternLayout
appender.CARBON_CONSOLE.layout.pattern = [%d] [%X{Correlation-ID}] %5p {%c} - %mm%ex%n
appender.CARBON_CONSOLE.filter.threshold.type = ThresholdFilter
appender.CARBON_CONSOLE.filter.threshold.level = DEBUG

# CARBON_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout.
appender.CARBON_LOGFILE.type = RollingFile
appender.CARBON_LOGFILE.name = CARBON_LOGFILE
appender.CARBON_LOGFILE.fileName = ${sys:carbon.home}/repository/logs/wso2carbon.log
appender.CARBON_LOGFILE.filePattern = ${sys:carbon.home}/repository/logs/wso2carbon-%d{MM-dd-yyyy}.%i.log
appender.CARBON_LOGFILE.layout.type = PatternLayout
appender.CARBON_LOGFILE.layout.pattern = TID: [%tenantId] [%appName] [%d] [%X{Correlation-ID}] %5p {%c} - %mm%ex%n
appender.CARBON_LOGFILE.policies.type = Policies
appender.CARBON_LOGFILE.policies.time.type = TimeBasedTriggeringPolicy
appender.CARBON_LOGFILE.policies.time.interval = 1
appender.CARBON_LOGFILE.policies.time.modulate = true
appender.CARBON_LOGFILE.policies.size.type = SizeBasedTriggeringPolicy
appender.CARBON_LOGFILE.policies.size.size=10MB
appender.CARBON_LOGFILE.strategy.type = DefaultRolloverStrategy
appender.CARBON_LOGFILE.strategy.max = 20
appender.CARBON_LOGFILE.filter.threshold.type = ThresholdFilter
appender.CARBON_LOGFILE.filter.threshold.level = DEBUG

# Appender config to AUDIT_LOGFILE
appender.AUDIT_LOGFILE.type = RollingFile
appender.AUDIT_LOGFILE.name = AUDIT_LOGFILE
appender.AUDIT_LOGFILE.fileName = ${sys:carbon.home}/repository/logs/audit.log
appender.AUDIT_LOGFILE.filePattern = ${sys:carbon.home}/repository/logs/audit-%d{MM-dd-yyyy}.%i.log
appender.AUDIT_LOGFILE.layout.type = PatternLayout
appender.AUDIT_LOGFILE.layout.pattern = TID: [%tenantId] [%d] [%X{Correlation-ID}] %5p {%c} - %mm%ex%n
appender.AUDIT_LOGFILE.policies.type = Policies
appender.AUDIT_LOGFILE.policies.time.type = TimeBasedTriggeringPolicy
appender.AUDIT_LOGFILE.policies.time.interval = 1
appender.AUDIT_LOGFILE.policies.time.modulate = true
appender.AUDIT_LOGFILE.policies.size.type = SizeBasedTriggeringPolicy
appender.AUDIT_LOGFILE.policies.size.size=10MB
appender.AUDIT_LOGFILE.strategy.type = DefaultRolloverStrategy
appender.AUDIT_LOGFILE.strategy.max = 20
appender.AUDIT_LOGFILE.filter.threshold.type = ThresholdFilter
appender.AUDIT_LOGFILE.filter.threshold.level = INFO

# Appender config to send Atomikos transaction logs to new log file tm.out.
appender.ATOMIKOS_LOGFILE.type = RollingFile
appender.ATOMIKOS_LOGFILE.name = ATOMIKOS_LOGFILE
appender.ATOMIKOS_LOGFILE.fileName = ${sys:carbon.home}/repository/logs/tm.out
appender.ATOMIKOS_LOGFILE.filePattern = ${sys:carbon.home}/repository/logs/tm-%d{MM-dd-yyyy}.%i.out
appender.ATOMIKOS_LOGFILE.layout.type = PatternLayout
appender.ATOMIKOS_LOGFILE.layout.pattern = [%d] [%tenantId] %5p {%c} - %mm%ex%n
appender.ATOMIKOS_LOGFILE.policies.type = Policies
appender.ATOMIKOS_LOGFILE.policies.time.type = TimeBasedTriggeringPolicy
appender.ATOMIKOS_LOGFILE.policies.time.interval = 1
appender.ATOMIKOS_LOGFILE.policies.time.modulate = true
appender.ATOMIKOS_LOGFILE.policies.size.type = SizeBasedTriggeringPolicy
appender.ATOMIKOS_LOGFILE.policies.size.size=10MB
appender.ATOMIKOS_LOGFILE.strategy.type = DefaultRolloverStrategy
appender.ATOMIKOS_LOGFILE.strategy.max = 20

# Appender config to CARBON_TRACE_LOGFILE
appender.CARBON_TRACE_LOGFILE.type = RollingFile
appender.CARBON_TRACE_LOGFILE.name = CARBON_TRACE_LOGFILE
appender.CARBON_TRACE_LOGFILE.fileName = ${sys:carbon.home}/repository/logs/wso2carbon-trace-messages.log
appender.CARBON_TRACE_LOGFILE.filePattern = ${sys:carbon.home}/repository/logs/wso2carbon-trace-messages-%d{MM-dd-yyyy}.%i.log
appender.CARBON_TRACE_LOGFILE.layout.type = PatternLayout
appender.CARBON_TRACE_LOGFILE.layout.pattern = [%d] [%tenantId] %5p {%c} - %mm%ex%n
appender.CARBON_TRACE_LOGFILE.policies.type = Policies
appender.CARBON_TRACE_LOGFILE.policies.time.type = TimeBasedTriggeringPolicy
appender.CARBON_TRACE_LOGFILE.policies.time.interval = 1
appender.CARBON_TRACE_LOGFILE.policies.time.modulate = true
appender.CARBON_TRACE_LOGFILE.policies.size.type = SizeBasedTriggeringPolicy
appender.CARBON_TRACE_LOGFILE.policies.size.size=10MB
appender.CARBON_TRACE_LOGFILE.strategy.type = DefaultRolloverStrategy
appender.CARBON_TRACE_LOGFILE.strategy.max = 20

# Appender config to put correlation Log.
appender.CORRELATION.type = RollingFile
appender.CORRELATION.name = CORRELATION
appender.CORRELATION.fileName =${sys:carbon.home}/repository/logs/correlation.log
appender.CORRELATION.filePattern =${sys:carbon.home}/repository/logs/correlation-%d{MM-dd-yyyy}.%i.log
appender.CORRELATION.layout.type = PatternLayout
appender.CORRELATION.layout.pattern = %d{yyyy-MM-dd HH:mm:ss,SSS}|%X{Correlation-ID}|%t|%mm%n
appender.CORRELATION.policies.type = Policies
appender.CORRELATION.policies.time.type = TimeBasedTriggeringPolicy
appender.CORRELATION.policies.time.interval = 1
appender.CORRELATION.policies.time.modulate = true
appender.CORRELATION.policies.size.type = SizeBasedTriggeringPolicy
appender.CORRELATION.policies.size.size=10MB
appender.CORRELATION.strategy.type = DefaultRolloverStrategy
appender.CORRELATION.strategy.max = 20
appender.CORRELATION.filter.threshold.type = ThresholdFilter
appender.CORRELATION.filter.threshold.level = INFO

#Appender config to put diagnostics Log.
appender.DIAGNOSTICS.type = RollingFile
appender.DIAGNOSTICS.name = DIAGNOSTICS
appender.DIAGNOSTICS.fileName =${sys:carbon.home}/repository/logs/diagnostics.log
appender.DIAGNOSTICS.filePattern =${sys:carbon.home}/repository/logs/diagnostics-%d{MM-dd-yyyy}.%i.log
appender.DIAGNOSTICS.layout.type = PatternLayout
appender.DIAGNOSTICS.layout.pattern = %d{yyyy-MM-dd HH:mm:ss,SSS}|%X{Correlation-ID}|Tenant:%X{tenantDomain}|%t|%mm%n
appender.DIAGNOSTICS.policies.type = Policies
appender.DIAGNOSTICS.policies.time.type = TimeBasedTriggeringPolicy
appender.DIAGNOSTICS.policies.time.interval = 1
appender.DIAGNOSTICS.policies.time.modulate = true
appender.DIAGNOSTICS.policies.size.type = SizeBasedTriggeringPolicy
appender.DIAGNOSTICS.policies.size.size=10MB
appender.DIAGNOSTICS.strategy.type = DefaultRolloverStrategy
appender.DIAGNOSTICS.strategy.max = 20
appender.DIAGNOSTICS.filter.threshold.type = ThresholdFilter
appender.DIAGNOSTICS.filter.threshold.level = INFO

# Uncomment the below lines to use the Syslog Appender
#appender.syslog.type = Syslog
#appender.syslog.name = Syslog
#appender.syslog.host = localhost
#appender.syslog.port = 514
#appender.syslog.protocol = UDP
#appender.syslog.layout.type = PatternLayout
#appender.syslog.layout.pattern = [%d] [%tenantId] %5p {%c} - %mm%ex%n
#appender.syslog.filter.threshold.type = ThresholdFilter
#appender.syslog.filter.threshold.level = DEBUG

appender.osgi.type = PaxOsgi
appender.osgi.name = PaxOsgi
appender.osgi.filter = *

loggers = AUDIT_LOG, trace-messages, diagnostics, correlation, org-apache-coyote, com-hazelcast, javax-mail, Owasp-CsrfGuard, org-apache-axis2-wsdl-codegen-writer-PrettyPrinter, org-apache-axis2-clustering, org-apache-catalina, org-apache-tomcat, org-apache-axis2-description, org-wso2-carbon-apacheds, org-apache-directory-server-ldap, org-apache-directory-server-core-event, com-atomikos, org-quartz, org-apache-jackrabbit-webdav, org-apache-juddi, org-apache-commons-digester-Digester, org-apache-jasper-compiler-TldLocationsCache, org-apache-qpid, org-apache-qpid-server-Main, qpid-message, qpid-message-broker-listening, org-apache-tiles, org-apache-commons-httpclient, org-apache-solr, me-prettyprint-cassandra-hector-TimingLogger, org-apache-axis-enterprise, org-apache-directory-shared-ldap, org-apache-directory-server-ldap-handlers, org-apache-directory-shared-ldap-entry-DefaultServerAttribute, org-apache-directory-server-core-DefaultDirectoryService, org-apache-directory-shared-ldap-ldif-LdifReader, org-apache-directory-server-ldap-LdapProtocolHandler, org-apache-directory-server-core, org-apache-directory-server-ldap-LdapSession, DataNucleus, Datastore, Datastore-Schema, JPOX-Datastore, JPOX-Plugin, JPOX-MetaData, JPOX-Query, JPOX-General, JPOX-Enhancer, org-apache-hadoop-hive, hive, ExecMapper, ExecReducer, net-sf-ehcache, axis2Deployment, equinox, tomcat2, StAXDialectDetector, org-apache-directory-api, org-apache-directory-api-ldap-model-entry, TRANSACTION_LOGGER, DELETE_EVENT_LOGGER, org-springframework, org-opensaml-xml-security-credential-criteria, org-wso2-carbon-user-core, org-wso2-carbon-identity, org-wso2-carbon-identity-sso-saml, org-wso2-carbon-identity-application, org-wso2-carbon-identity-application-authentication-framework, org-wso2-carbon-identity-oauth2, org-wso2-carbon-identity-oauth, org-wso2-carbon-identity-application-authenticator, org-wso2-carbon-identity-scim, org-wso2-carbon-identity-scim2, org-wso2-charon-core, org-wso2-charon3-core, org-eclipse-jetty, org-apache-cxf-endpoint-ServerImpl, org-wso2-carbon-event, org-wso2-carbon-webapp-mgt-TomcatGenericWebappsDeployer, org-wso2-carbon-core-deployment-DeploymentInterceptor, org-wso2-carbon-registry-core

logger.AUDIT_LOG.name = AUDIT_LOG
logger.AUDIT_LOG.level = INFO
logger.AUDIT_LOG.appenderRef.AUDIT_LOGFILE.ref = AUDIT_LOGFILE
logger.AUDIT_LOG.additivity = false

logger.trace-messages.name = trace.messages
logger.trace-messages.level = TRACE
logger.trace-messages.appenderRef.CARBON_TRACE_LOGFILE.ref = CARBON_TRACE_LOGFILE

logger.org-apache-coyote.name = org.apache.coyote
logger.org-apache-coyote.level = WARN

logger.org-apache-axis2-description.name = org.apache.axis2.description
logger.org-apache-axis2-description.level = ERROR

logger.com-hazelcast.name = com.hazelcast
logger.com-hazelcast.level = ERROR

logger.javax-mail.name = javax.mail
logger.javax-mail.level = ERROR

logger.org-eclipse-jetty.name = org.eclipse.jetty
logger.org-eclipse-jetty.level = ERROR

logger.Owasp-CsrfGuard.name = Owasp.CsrfGuard
logger.Owasp-CsrfGuard.level = WARN

logger.org-apache-axis2-wsdl-codegen-writer-PrettyPrinter.name = org.apache.axis2.wsdl.codegen.writer.PrettyPrinter
logger.org-apache-axis2-wsdl-codegen-writer-PrettyPrinter.level = ERROR
logger.org-apache-axis2-wsdl-codegen-writer-PrettyPrinter.appenderRef.CARBON_LOGFILE.ref = CARBON_LOGFILE

logger.org-apache-axis2-clustering.name = org.apache.axis2.clustering
logger.org-apache-axis2-clustering.level = INFO
logger.org-apache-axis2-clustering.additivity = false

logger.org-apache.name = org.apache
logger.org-apache.level = INFO
logger.org-apache.additivity = false
logger.org-apache.appenderRef.CARBON_LOGFILE.ref = CARBON_LOGFILE

logger.org-apache-catalina.name = org.apache.catalina
logger.org-apache-catalina.level = ERROR

logger.org-apache-tomcat.name = org.apache.tomcat
logger.org-apache-tomcat.level = INFO

logger.org-wso2-carbon-apacheds.name = org.wso2.carbon.apacheds
logger.org-wso2-carbon-apacheds.level = WARN

logger.org-apache-directory-server-ldap.name = org.apache.directory.server.ldap
logger.org-apache-directory-server-ldap.level = ERROR

logger.org-apache-directory-server-core-event.name = org.apache.directory.server.core.event
logger.org-apache-directory-server-core-event.level = WARN

logger.com-atomikos.name = com.atomikos
logger.com-atomikos.level = INFO
logger.com-atomikos.additivity = false
logger.com-atomikos.appenderRef.ATOMIKOS_LOGFILE.ref = ATOMIKOS_LOGFILE

logger.org-quartz.name = org.quartz
logger.org-quartz.level = WARN

logger.org-apache-jackrabbit-webdav.name = org.apache.jackrabbit.webdav
logger.org-apache-jackrabbit-webdav.level = WARN

logger.org-apache-juddi.name = org.apache.juddi
logger.org-apache-juddi.level = ERROR

logger.org-apache-commons-digester-Digester.name = org.apache.commons.digester.Digester
logger.org-apache-commons-digester-Digester.level = WARN

logger.org-apache-jasper-compiler-TldLocationsCache.name = org.apache.jasper.compiler.TldLocationsCache
logger.org-apache-jasper-compiler-TldLocationsCache.level = WARN

logger.org-apache-qpid.name = org.apache.qpid
logger.org-apache-qpid.level = WARN

logger.org-apache-qpid-server-Main.name = org.apache.qpid.server.Main
logger.org-apache-qpid-server-Main.level = INFO

logger.qpid-message.name = qpid.message
logger.qpid-message.level = WARN

logger.qpid-message-broker-listening.name = qpid.message.broker.listening
logger.qpid-message-broker-listening.level = INFO

logger.org-apache-tiles.name = org.apache.tiles
logger.org-apache-tiles.level = WARN

logger.org-apache-commons-httpclient.name = org.apache.commons.httpclient
logger.org-apache-commons-httpclient.level = ERROR

logger.org-apache-solr.name = org.apache.solr
logger.org-apache-solr.level = ERROR

logger.me-prettyprint-cassandra-hector-TimingLogger.name = me.prettyprint.cassandra.hector.TimingLogger
logger.me-prettyprint-cassandra-hector-TimingLogger.level = ERROR

logger.org-wso2.name = org.wso2
logger.org-wso2.level = ERROR

logger.org-apache-axis-enterprise.name = org.apache.axis2.enterprise
logger.org-apache-axis-enterprise.level = FATAL
logger.org-apache-axis-enterprise.appenderRef.CARBON_LOGFILE.ref = CARBON_LOGFILE

logger.org-apache-directory-shared-ldap.name = org.apache.directory.shared.ldap
logger.org-apache-directory-shared-ldap.level = WARN
logger.org-apache-directory-shared-ldap.appenderRef.CARBON_LOGFILE.ref = CARBON_LOGFILE

logger.org-apache-directory-server-ldap-handlers.name = org.apache.directory.server.ldap.handlers
logger.org-apache-directory-server-ldap-handlers.level = WARN
logger.org-apache-directory-server-ldap-handlers.appenderRef.CARBON_LOGFILE.ref = CARBON_LOGFILE

logger.org-apache-cxf-endpoint-ServerImpl.name = org.apache.cxf.endpoint.ServerImpl
logger.org-apache-cxf-endpoint-ServerImpl.level = WARN
logger.org-apache-cxf-endpoint-ServerImpl.appenderRef.CARBON_CONSOLE.ref = CARBON_CONSOLE

logger.org-wso2-carbon-event.name = org.wso2.carbon.event
logger.org-wso2-carbon-event.level = WARN

logger.org-wso2-carbon-webapp-mgt-TomcatGenericWebappsDeployer.name = org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer
logger.org-wso2-carbon-webapp-mgt-TomcatGenericWebappsDeployer.level = WARN

logger.org-wso2-carbon-core-deployment-DeploymentInterceptor.name = org.wso2.carbon.core.deployment.DeploymentInterceptor
logger.org-wso2-carbon-core-deployment-DeploymentInterceptor.level = WARN

#Following are to remove false error messages from startup (IS)
logger.org-apache-directory-shared-ldap-entry-DefaultServerAttribute.name = org.apache.directory.shared.ldap.entry.DefaultServerAttribute
logger.org-apache-directory-shared-ldap-entry-DefaultServerAttribute.level = FATAL
logger.org-apache-directory-shared-ldap-entry-DefaultServerAttribute.appenderRef.CARBON_LOGFILE.ref = CARBON_LOGFILE

logger.org-apache-directory-server-core-DefaultDirectoryService.name = org.apache.directory.server.core.DefaultDirectoryService
logger.org-apache-directory-server-core-DefaultDirectoryService.level = ERROR
logger.org-apache-directory-server-core-DefaultDirectoryService.appenderRef.CARBON_LOGFILE.ref = CARBON_LOGFILE

logger.org-apache-directory-shared-ldap-ldif-LdifReader.name = org.apache.directory.shared.ldap.ldif.LdifReader
logger.org-apache-directory-shared-ldap-ldif-LdifReader.level = ERROR
logger.org-apache-directory-shared-ldap-ldif-LdifReader.appenderRef.CARBON_LOGFILE.ref = CARBON_LOGFILE

logger.org-apache-directory-server-ldap-LdapProtocolHandler.name = org.apache.directory.server.ldap.LdapProtocolHandler
logger.org-apache-directory-server-ldap-LdapProtocolHandler.level = ERROR
logger.org-apache-directory-server-ldap-LdapProtocolHandler.appenderRef.CARBON_LOGFILE.ref = CARBON_LOGFILE

logger.org-apache-directory-server-core.name = org.apache.directory.server.core
logger.org-apache-directory-server-core.level = ERROR
logger.org-apache-directory-server-core.appenderRef.CARBON_LOGFILE.ref = CARBON_LOGFILE

logger.org-apache-directory-server-ldap-LdapSession.name = org.apache.directory.server.ldap.LdapSession
logger.org-apache-directory-server-ldap-LdapSession.level = Error
logger.org-apache-directory-server-ldap-LdapSession.appenderRef.CARBON_LOGFILE.ref = CARBON_LOGFILE

logger.correlation.name = correlation
logger.correlation.level = INFO
logger.correlation.appenderRef.CORRELATION.ref = CORRELATION
logger.correlation.additivity = false

logger.diagnostics.name = diagnostics
logger.diagnostics.level = INFO
logger.diagnostics.appenderRef.DIAGNOSTICS.ref = DIAGNOSTICS
logger.diagnostics.additivity = false

#Hive Related Log configurations
logger.DataNucleus.name = DataNucleus
logger.DataNucleus.level = ERROR

logger.Datastore.name = Datastore
logger.Datastore.level = ERROR

logger.Datastore-Schema.name = Datastore.Schema
logger.Datastore-Schema.level = ERROR

logger.JPOX-Datastore.name = JPOX.Datastore
logger.JPOX-Datastore.level = ERROR

logger.JPOX-Plugin.name = JPOX.Plugin
logger.JPOX-Plugin.level = ERROR

logger.JPOX-MetaData.name = JPOX.MetaData
logger.JPOX-MetaData.level = ERROR

logger.JPOX-Query.name = JPOX.Query
logger.JPOX-Query.level = ERROR

logger.JPOX-General.name = JPOX.General
logger.JPOX-General.level = ERROR

logger.JPOX-Enhancer.name = JPOX.Enhancer
logger.JPOX-Enhancer.level = ERROR

logger.org-apache-hadoop-hive.name = org.apache.hadoop.hive
logger.org-apache-hadoop-hive.level = WARN

logger.hive.name = hive
logger.hive.level = WARN

logger.ExecMapper.name = ExecMapper
logger.ExecMapper.level = WARN

logger.ExecReducer.name = ExecReducer
logger.ExecReducer.level = WARN

logger.net-sf-ehcache.name = net.sf.ehcache
logger.net-sf-ehcache.level = ERROR

logger.axis2Deployment.name = org.apache.axis2.deployment
logger.axis2Deployment.level = WARN

logger.equinox.name = org.eclipse.equinox
logger.equinox.level = FATAL

logger.tomcat2.name = tomcat
logger.tomcat2.level = FATAL

logger.StAXDialectDetector.name = org.apache.axiom.util.stax.dialect.StAXDialectDetector
logger.StAXDialectDetector.level = ERROR


# root loggers
#uncomment the last line to add syslog appender to the root loggers
rootLogger.level = INFO
rootLogger.appenderRef.CARBON_CONSOLE.ref = CARBON_CONSOLE
rootLogger.appenderRef.CARBON_LOGFILE.ref = CARBON_LOGFILE
rootLogger.appenderRef.PaxOsgi.ref = PaxOsgi
#rootLogger.appenderRef.syslog.ref = Syslog


logger.org-apache-directory-api.name=org.apache.directory.api
logger.org-apache-directory-api.level=ERROR

logger.org-apache-directory-api-ldap-model-entry.name=org.apache.directory.api.ldap.model.entry
logger.org-apache-directory-api-ldap-model-entry.level=FATAL

logger.org-springframework.name=org.springframework
logger.org-springframework.level=WARN

logger.org-opensaml-xml-security-credential-criteria.name=org.opensaml.xml.security.credential.criteria
logger.org-opensaml-xml-security-credential-criteria.level=WARN

logger.org-wso2-carbon-user-core.name=org.wso2.carbon.user.core
logger.org-wso2-carbon-user-core.level=INFO

logger.org-wso2-carbon-identity.name=org.wso2.carbon.identity
logger.org-wso2-carbon-identity.level=INFO

logger.org-wso2-carbon-identity-sso-saml.name=org.wso2.carbon.identity.sso.saml
logger.org-wso2-carbon-identity-sso-saml.level=INFO

logger.org-wso2-carbon-identity-application.name=org.wso2.carbon.identity.application
logger.org-wso2-carbon-identity-application.level=INFO

logger.org-wso2-carbon-identity-application-authentication-framework.name=org.wso2.carbon.identity.application.authentication.framework
logger.org-wso2-carbon-identity-application-authentication-framework.level=INFO

#logger.org-wso2-carbon-identity-mgt.name=org.wso2.carbon.identity.mgt
#logger.org-wso2-carbon-identity-mgt.level=DEBUG

logger.org-wso2-carbon-identity-oauth2.name=org.wso2.carbon.identity.oauth2
logger.org-wso2-carbon-identity-oauth2.level=INFO

logger.org-wso2-carbon-identity-oauth.name=org.wso2.carbon.identity.oauth
logger.org-wso2-carbon-identity-oauth.level=INFO

logger.org-wso2-carbon-identity-oidc.name=org.wso2.carbon.identity.oidc
logger.org-wso2-carbon-identity-oidc.level=INFO

logger.org-wso2-carbon-identity-application-authenticator.name=org.wso2.carbon.identity.application.authenticator
logger.org-wso2-carbon-identity-application-authenticator.level=INFO

logger.org-wso2-carbon-identity-scim.name=org.wso2.carbon.identity.scim
logger.org-wso2-carbon-identity-scim.level=INFO

logger.org-wso2-carbon-identity-scim2.name=org.wso2.carbon.identity.scim2
logger.org-wso2-carbon-identity-scim2.level=INFO

logger.org-wso2-charon-core.name=org.wso2.charon.core
logger.org-wso2-charon-core.level=INFO

logger.org-wso2-charon3-core.name=org.wso2.charon3.core
logger.org-wso2-charon3-core.level=INFO

logger.org-wso2-carbon-registry-core.name = org.wso2.carbon.registry.core
logger.org-wso2-carbon-registry-core.level = OFF

#logger.org-wso2-carbon-identity-mgt.name=org.wso2.carbon.identity.mgt
#logger.org-wso2-carbon-identity-mgt.level=DEBUG

#logger.org-wso2-carbon-idp-mgt.name=org.wso2.carbon.idp.mgt
#logger.org-wso2-carbon-idp-mgt.level=DEBUG

#logger.org-wso2-carbon-identity-provisioning.name=org.wso2.carbon.identity.provisioning
#logger.org-wso2-carbon-identity-provisioning.level=DEBUG

#logger.org-wso2-carbon-identity-user-account-association.name=org.wso2.carbon.identity.user.account.association
#logger.org-wso2-carbon-identity-user-account-association.level=DEBUG

#logger.org-wso2-carbon-identity-user-profile-mgt.name=org.wso2.carbon.identity.user.profile.mgt
#logger.org-wso2-carbon-identity-user-profile-mgt.level=DEBUG

#logger.org-wso2-carbon-security.name=org.wso2.carbon.security
#logger.org-wso2-carbon-security.level=DEBUG

#logger.org-wso2-carbon-identity-sso-agent.name=org.wso2.carbon.identity.sso.agent
#logger.org-wso2-carbon-identity-sso-agent.level=DEBUG

#logger.org-wso2-carbon-identity-core.name=org.wso2.carbon.identity.core
#logger.org-wso2-carbon-identity-core.level=DEBUG

# Appender config to CARBON_TRACE_LOGFILE
appender.DELETE_EVENT_LOGFILE.type = RollingFile
appender.DELETE_EVENT_LOGFILE.name = DELETE_EVENT_LOGFILE
appender.DELETE_EVENT_LOGFILE.fileName = ${sys:carbon.home}/repository/logs/delete-event.log
appender.DELETE_EVENT_LOGFILE.filePattern =${sys:carbon.home}/repository/logs/delete-event-%d{MM-dd-yyyy}.%i.log
appender.DELETE_EVENT_LOGFILE.layout.type = PatternLayout
appender.DELETE_EVENT_LOGFILE.layout.pattern = %mm %n
appender.DELETE_EVENT_LOGFILE.policies.type = Policies
appender.DELETE_EVENT_LOGFILE.policies.time.type = TimeBasedTriggeringPolicy
appender.DELETE_EVENT_LOGFILE.policies.time.interval = 1
appender.DELETE_EVENT_LOGFILE.policies.time.modulate = true
appender.DELETE_EVENT_LOGFILE.policies.size.type = SizeBasedTriggeringPolicy
appender.DELETE_EVENT_LOGFILE.policies.size.size=10MB
appender.DELETE_EVENT_LOGFILE.strategy.type = DefaultRolloverStrategy
appender.DELETE_EVENT_LOGFILE.strategy.max = 20
appender.DELETE_EVENT_LOGFILE.threshold.type = ThresholdFilter
appender.DELETE_EVENT_LOGFILE.threshold.level = INFO

appender.TRANSACTION_LOGFILE.type = RollingFile
appender.TRANSACTION_LOGFILE.name = TRANSACTION_LOGFILE
appender.TRANSACTION_LOGFILE.fileName = ${sys:carbon.home}/repository/logs/transaction.log
appender.TRANSACTION_LOGFILE.filePattern = ${sys:carbon.home}/repository/logs/transaction-%d{MM-dd-yyyy}.%i.log
appender.TRANSACTION_LOGFILE.layout.type = PatternLayout
appender.TRANSACTION_LOGFILE.layout.pattern = [%d] - %mm %n
appender.TRANSACTION_LOGFILE.policies.type = Policies
appender.TRANSACTION_LOGFILE.policies.time.type = TimeBasedTriggeringPolicy
appender.TRANSACTION_LOGFILE.policies.time.interval = 1
appender.TRANSACTION_LOGFILE.policies.time.modulate = true
appender.TRANSACTION_LOGFILE.policies.size.type = SizeBasedTriggeringPolicy
appender.TRANSACTION_LOGFILE.policies.size.size=10MB
appender.TRANSACTION_LOGFILE.strategy.type = DefaultRolloverStrategy
appender.TRANSACTION_LOGFILE.strategy.max = 20
appender.TRANSACTION_LOGFILE.threshold.type = ThresholdFilter
appender.TRANSACTION_LOGFILE.threshold.level = INFO

logger.TRANSACTION_LOGGER.name=TRANSACTION_LOGGER
logger.TRANSACTION_LOGGER.level=INFO
logger.TRANSACTION_LOGGER.appenderRef.TRANSACTION_LOGFILE.ref = TRANSACTION_LOGFILE

logger.DELETE_EVENT_LOGGER.name=DELETE_EVENT_LOGGER
logger.DELETE_EVENT_LOGGER.level=INFO
logger.DELETE_EVENT_LOGGER.appenderRef.TRANSACTION_LOGFILE.ref = TRANSACTION_LOGFILE

