-
Notifications
You must be signed in to change notification settings - Fork 22
Log Config
doraalin edited this page Dec 18, 2017
·
1 revision
SDK Log configuration SDK日志配置
<logger name="com.youzan.nsq.client" additivity="false">
<appender-ref ref="INFO"/>
</logger>
<!-- consume policy logger appender, use additivity=false to make sure it does not goes into log info-->
<logger name="com.youzan.nsq.client.ConsumerImplV2.consume.policy" additivity="false">
<appender-ref ref="CONSUME_POLICY"/>
</logger>
<root>
<appender-ref ref="STDOUT"/>
<appender-ref ref="DEBUG"/>
<appender-ref ref="INFO"/>
<appender-ref ref="ERROR"/>
<appender-ref ref="CONSUME_POLICY">
</root>