|
|
@ -176,3 +176,41 @@ handlers=java.util.logging.ConsoleHandler
|
|
|
|
|
|
|
|
|
|
|
|
# Replacing default INFO level with SEVERE
|
|
|
|
# Replacing default INFO level with SEVERE
|
|
|
|
java.util.logging.ConsoleHandler.level=SEVERE
|
|
|
|
java.util.logging.ConsoleHandler.level=SEVERE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#andes specific
|
|
|
|
|
|
|
|
log4j.logger.org.wso2.andes.server.handler.ConnectionStartOkMethodHandler=WARN
|
|
|
|
|
|
|
|
log4j.logger.org.wso2.andes.server.handler.ChannelOpenHandler=WARN
|
|
|
|
|
|
|
|
log4j.logger.org.wso2.andes.server.handler.ChannelCloseHandler=WARN
|
|
|
|
|
|
|
|
log4j.logger.org.wso2.andes.server.AMQChannel=WARN
|
|
|
|
|
|
|
|
log4j.logger.org.wso2.andes.server.handler.ConnectionCloseMethodHandler=WARN
|
|
|
|
|
|
|
|
log4j.logger.org.wso2.andes.server.handler.QueueDeclareHandler=WARN
|
|
|
|
|
|
|
|
log4j.logger.org.wso2.andes.server.handler.QueueBindHandler=WARN
|
|
|
|
|
|
|
|
log4j.logger.org.wso2.andes.server.virtualhost.VirtualHostConfigRecoveryHandler=WARN
|
|
|
|
|
|
|
|
log4j.logger.org.wso2.andes.amqp.QpidAndesBridge=WARN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# moquette-log properties
|
|
|
|
|
|
|
|
log4j.logger.org.dna.mqtt=INFO
|
|
|
|
|
|
|
|
log4j.logger.org.dna.mqtt.moquette.messaging.spi.impl.ProtocolProcessor=INFO
|
|
|
|
|
|
|
|
log4j.logger.org.dna.mqtt.moquette.messaging.spi.impl.SimpleMessaging=WARN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Protocol parsing
|
|
|
|
|
|
|
|
log4j.logger.org.dna.mqtt.moquette.server.netty.NettyMQTTHandler=WARN
|
|
|
|
|
|
|
|
#log4j.logger.org.dna.mqtt.moquette.server.netty.NettyMQTTHandler=DEBUG
|
|
|
|
|
|
|
|
log4j.logger.org.dna.mqtt.moquette.parser.netty=WARN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The event trace logger dumps enough information @INFO level, but maybe pushed upto TRACE.
|
|
|
|
|
|
|
|
# Writes only run-time/event processing time tracing/debug messages for event passing through trace
|
|
|
|
|
|
|
|
# enabled transport adapters event formatters, builders and processors. Enabling event tracing on these has a performance impact
|
|
|
|
|
|
|
|
log4j.category.EVENT_TRACE_LOGGER=INFO, EVENT_TRACE_APPENDER, EVENT_TRACE_MEMORYAPPENDER
|
|
|
|
|
|
|
|
log4j.additivity.EVENT_TRACE_LOGGER=false
|
|
|
|
|
|
|
|
log4j.appender.EVENT_TRACE_APPENDER=org.apache.log4j.DailyRollingFileAppender
|
|
|
|
|
|
|
|
log4j.appender.EVENT_TRACE_APPENDER.File=${carbon.home}/repository/logs/${instance.log}/wso2-das-trace${instance.log}.log
|
|
|
|
|
|
|
|
log4j.appender.EVENT_TRACE_APPENDER.Append=true
|
|
|
|
|
|
|
|
log4j.appender.EVENT_TRACE_APPENDER.layout=org.apache.log4j.PatternLayout
|
|
|
|
|
|
|
|
log4j.appender.EVENT_TRACE_APPENDER.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%X{ip}-%X{host}] [%t] %5p %c{1} %m%n
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The memory appender for trace logger
|
|
|
|
|
|
|
|
log4j.appender.EVENT_TRACE_MEMORYAPPENDER=org.wso2.carbon.utils.logging.appenders.MemoryAppender
|
|
|
|
|
|
|
|
log4j.appender.EVENT_TRACE_MEMORYAPPENDER.bufferSize=2000
|
|
|
|
|
|
|
|
log4j.appender.EVENT_TRACE_MEMORYAPPENDER.layout=org.apache.log4j.PatternLayout
|
|
|
|
|
|
|
|
log4j.appender.EVENT_TRACE_MEMORYAPPENDER.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%X{ip}-%X{host}] [%t] %5p %m%n
|
|
|
|