SHARE
TWEET

Untitled

a guest Dec 13th, 2016 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. log4j.rootLogger=DEBUG, CARBON_CONSOLE, CARBON_LOGFILE, CARBON_MEMORY, CARBON_SYS_LOG
  2.  
  3. log4j.logger.AUDIT_LOG=INFO, AUDIT_LOGFILE
  4. log4j.logger.org.apache.axis2.wsdl.codegen.writer.PrettyPrinter=ERROR, CARBON_LOGFILE, CARBON_MEMORY
  5. log4j.logger.org.apache.axis2.clustering=INFO, CARBON_CONSOLE, CARBON_LOGFILE
  6. log4j.logger.org.apache=DEBUG, CARBON_LOGFILE, CARBON_MEMORY
  7. log4j.logger.org.apache.catalina=DEBUG
  8. log4j.logger.org.apache.tomcat=DEBUG
  9. log4j.logger.org.wso2.carbon.apacheds=DEBUG
  10. log4j.logger.org.apache.directory.server.ldap=DEBUG
  11. log4j.logger.org.apache.directory.server.core.event=WARN
  12. log4j.logger.com.atomikos=INFO,ATOMIKOS
  13. log4j.logger.org.quartz=WARN
  14. log4j.logger.org.apache.jackrabbit.webdav=WARN
  15. log4j.logger.org.apache.juddi=ERROR
  16. log4j.logger.org.apache.commons.digester.Digester=WARN
  17. log4j.logger.org.apache.jasper.compiler.TldLocationsCache=WARN
  18. log4j.logger.org.apache.qpid=WARN
  19. log4j.logger.org.apache.qpid.server.Main=INFO
  20. log4j.logger.qpid.message=WARN
  21. log4j.logger.qpid.message.broker.listening=INFO
  22. log4j.logger.org.apache.tiles=WARN
  23. log4j.logger.org.apache.commons.httpclient=ERROR
  24. log4j.logger.org.apache.coyote=WARN
  25. log4j.logger.org.apache.solr=ERROR
  26. log4j.logger.me.prettyprint.cassandra.hector.TimingLogger=ERROR
  27. log4j.logger.org.wso2=INFO
  28. log4j.logger.org.apache.axis2.enterprise=DEBUG, CARBON_LOGFILE, CARBON_MEMORY
  29. log4j.logger.org.apache.directory.shared.ldap=DEBUG, CARBON_LOGFILE, CARBON_MEMORY
  30. log4j.logger.org.apache.directory.server.ldap.handlers=DEBUG, CARBON_LOGFILE, CARBON_MEMORY
  31. #Following are to remove false error messages from startup (IS)
  32. log4j.logger.org.apache.directory.shared.ldap.entry.DefaultServerAttribute=DEBUG, CARBON_LOGFILE, CARBON_MEMORY
  33. log4j.logger.org.apache.directory.server.core.DefaultDirectoryService=DEBUG, CARBON_LOGFILE, CARBON_MEMORY
  34. log4j.logger.org.apache.directory.shared.ldap.ldif.LdifReader=ERROR, CARBON_LOGFILE, CARBON_MEMORY
  35. log4j.logger.org.apache.directory.server.ldap.LdapProtocolHandler=DEBUG, CARBON_LOGFILE, CARBON_MEMORY
  36. log4j.logger.org.apache.directory.server.core=DEBUG, CARBON_LOGFILE, CARBON_MEMORY
  37. log4j.logger.org.apache.directory.server.ldap.LdapSession=DEBUG, CARBON_LOGFILE, CARBON_MEMORY
  38. #Hive Related Log configurations
  39. log4j.logger.DataNucleus=ERROR
  40. log4j.logger.Datastore=ERROR
  41. log4j.logger.Datastore.Schema=ERROR
  42. log4j.logger.JPOX.Datastore=ERROR
  43. log4j.logger.JPOX.Plugin=ERROR
  44. log4j.logger.JPOX.MetaData=ERROR
  45. log4j.logger.JPOX.Query=ERROR
  46. log4j.logger.JPOX.General=ERROR
  47. log4j.logger.JPOX.Enhancer=ERROR
  48. log4j.logger.org.apache.hadoop.hive=WARN
  49. log4j.logger.hive=WARN
  50. log4j.logger.ExecMapper=WARN
  51. log4j.logger.ExecReducer=WARN
  52. log4j.logger.net.sf.ehcache=ERROR
  53. log4j.logger.org.opensaml.xml.security.credential.criteria=DEBUG
  54. log4j.logger.org.wso2.carbon.user.core=DEBUG
  55. log4j.logger.org.wso2.carbon.identity=DEBUG
  56. log4j.logger.org.wso2.carbon.identity.sso.saml=DEBUG
  57. log4j.logger.org.wso2.carbon.identity.application=DEBUG
  58. log4j.logger.org.wso2.carbon.identity.application.authentication.framework=DEBUG
  59.  #log4j.logger.org.wso2.carbon.identity.mgt=DEBUG
  60.  #log4j.logger.org.wso2.carbon.identity.oauth2=DEBUG
  61.  #log4j.logger.org.wso2.carbon.identity.scim=DEBUG
  62.  #log4j.logger.org.wso2.carbon.identity.mgt=DEBUG
  63. log4j.logger.org.wso2.carbon.idp.mgt=DEBUG
  64.  #log4j.logger.org.wso2.carbon.identity.provisioning=DEBUG
  65.  #log4j.logger.org.wso2.carbon.identity.user.account.association=DEBUG
  66.  #log4j.logger.org.wso2.carbon.identity.user.profile.mgt=DEBUG
  67. log4j.logger.org.wso2.carbon.security=DEBUG
  68. log4j.logger.org.wso2.carbon.identity.sso.agent=DEBUG
  69. log4j.logger.org.wso2.carbon.identity.core=DEBUG
  70.  
  71. log4j.logger.trace.messages=TRACE,CARBON_TRACE_LOGFILE
  72.  
  73. log4j.additivity.org.apache.axis2.clustering=false
  74. log4j.additivity.com.atomikos=false
  75. log4j.additivity.org.apache=false
  76.  
  77. # CARBON_CONSOLE is set to be a ConsoleAppender using a PatternLayout.
  78. log4j.appender.CARBON_CONSOLE=org.wso2.carbon.utils.logging.appenders.CarbonConsoleAppender
  79. log4j.appender.CARBON_CONSOLE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
  80. # ConversionPattern will be overridden by the configuration setting in the DB
  81. log4j.appender.CARBON_CONSOLE.layout.ConversionPattern=[%d] %P%5p {%c} - %x %m%n
  82. log4j.appender.CARBON_CONSOLE.layout.TenantPattern=%U%@%D[%T]
  83. log4j.appender.CARBON_CONSOLE.threshold=DEBUG
  84.  
  85. # CARBON_MEMORY is set to be a MemoryAppender using a PatternLayout.
  86. log4j.appender.CARBON_MEMORY=org.wso2.carbon.logging.service.appender.CarbonMemoryAppender
  87. log4j.appender.CARBON_MEMORY.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
  88. log4j.appender.CARBON_MEMORY.bufferSize=200
  89. # ConversionPattern will be overridden by the configuration setting in the DB
  90. #log4j.appender.CARBON_MEMORY.layout.ConversionPattern=[%d] %5p - %x %m {%c}%n
  91. log4j.appender.CARBON_MEMORY.layout.ConversionPattern=TID: [%T] [%S] [%d] %P%5p {%c} - %x %m {%c}%n
  92. log4j.appender.CARBON_MEMORY.layout.TenantPattern=%U%@%D [%T] [%S]
  93. log4j.appender.CARBON_MEMORY.columnList=%T,%S,%A,%d,%c,%p,%m,%H,%I,%Stacktrace
  94. log4j.appender.CARBON_MEMORY.threshold=DEBUG
  95.  
  96.  
  97. # CARBON_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout.
  98. log4j.appender.CARBON_LOGFILE=org.wso2.carbon.utils.logging.appenders.CarbonDailyRollingFileAppender
  99. # Log file will be overridden by the configuration setting in the DB
  100. # This path should be relative to WSO2 Carbon Home
  101. log4j.appender.CARBON_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon${instance.log}.log
  102. log4j.appender.CARBON_LOGFILE.Append=true
  103. log4j.appender.CARBON_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
  104. # ConversionPattern will be overridden by the configuration setting in the DB
  105. log4j.appender.CARBON_LOGFILE.layout.ConversionPattern=TID: [%T] [%S] [%d] %P%5p {%c} - %x %m %n
  106. log4j.appender.CARBON_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
  107. log4j.appender.CARBON_LOGFILE.threshold=DEBUG
  108.  
  109. log4j.appender.CARBON_SYS_LOG = org.apache.log4j.net.SyslogAppender
  110. log4j.appender.CARBON_SYS_LOG.layout=org.apache.log4j.PatternLayout
  111. log4j.appender.CARBON_SYS_LOG.layout.ConversionPattern=[%d] %5p {%c} - %x %m %n
  112. log4j.appender.CARBON_SYS_LOG.SyslogHost=localhost
  113. log4j.appender.CARBON_SYS_LOG.Facility=USER
  114. log4j.appender.CARBON_SYS_LOG.threshold=DEBUG
  115.  
  116. # LOGEVENT is set to be a LogEventAppender using a PatternLayout to send logs to LOGEVENT
  117. log4j.appender.LOGEVENT=org.wso2.carbon.logging.service.appender.LogEventAppender
  118. log4j.appender.LOGEVENT.url=tcp://10.100.3.103:7611
  119. log4j.appender.LOGEVENT.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
  120. log4j.appender.LOGEVENT.columnList=%T,%S,%A,%d,%c,%p,%m,%H,%I,%Stacktrace
  121. log4j.appender.LOGEVENT.userName=admin
  122. log4j.appender.LOGEVENT.password=admin
  123. #log4j.appender.LOGEVENT.password=secretAlias:Log4j.Appender.LOGEVENT.Password
  124.  
  125. # Appender config to CARBON_TRACE_LOGFILE
  126. log4j.appender.CARBON_TRACE_LOGFILE=org.apache.log4j.DailyRollingFileAppender
  127. log4j.appender.CARBON_TRACE_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon-trace-messages${instance.log}.log
  128. log4j.appender.CARBON_TRACE_LOGFILE.Append=true
  129. log4j.appender.CARBON_TRACE_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
  130. log4j.appender.CARBON_TRACE_LOGFILE.layout.ConversionPattern=[%d] %P%5p {%c} - %x %m %n
  131. log4j.appender.CARBON_TRACE_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
  132. log4j.appender.CARBON_TRACE_LOGFILE.threshold=TRACE
  133. log4j.additivity.trace.messages=false
  134.  
  135. # Appender config to AUDIT_LOGFILE
  136. log4j.appender.AUDIT_LOGFILE=org.wso2.carbon.utils.logging.appenders.CarbonDailyRollingFileAppender
  137. log4j.appender.AUDIT_LOGFILE.File=${carbon.home}/repository/logs/audit.log
  138. log4j.appender.AUDIT_LOGFILE.Append=true
  139. log4j.appender.AUDIT_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
  140. log4j.appender.AUDIT_LOGFILE.layout.ConversionPattern=[%d] %P%5p {%c}- %x %m %n
  141. log4j.appender.AUDIT_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
  142. log4j.appender.AUDIT_LOGFILE.threshold=INFO
  143. log4j.additivity.AUDIT_LOG=false
  144.  
  145. # Appender config to send Atomikos transaction logs to new log file tm.out.
  146. log4j.appender.ATOMIKOS = org.apache.log4j.RollingFileAppender
  147. log4j.appender.ATOMIKOS.File = repository/logs/tm.out
  148. log4j.appender.ATOMIKOS.Append = true
  149. log4j.appender.ATOMIKOS.layout = org.apache.log4j.PatternLayout
  150. log4j.appender.ATOMIKOS.layout.ConversionPattern=%p %t %c - %m%n
  151.  
  152. # This file is used to override the default logger settings, and is used to remove unwanted logs from Shindig appearing on the console.
  153.  
  154. # Specification of Handler used by Console Logger
  155. handlers=java.util.logging.ConsoleHandler
  156.  
  157. # Replacing default INFO level with SEVERE
  158. #java.util.logging.ConsoleHandler.level=SEVERE
  159. java.util.logging.ConsoleHandler.level=DEBUG
  160.  
  161. # - ADDED
  162. log4j.logger.org.wso2.carbon.custom.user.operation.event.listener=DEBUG
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top