开发者社区> 问答> 正文

钉钉SDK后台日志打印关闭

各位好,调用了钉钉的sdk之后,后台日志会每秒都会打印log,请问如何关闭?





017-12-28 17:55:50.485 [pool-1-thread-2] INFO  DING_OPEN_CLIENT_SDK_LOGGER - {"task":{"completed_count":3,"all_count":3},"base":{"max_qpm":1500,"send_request_period":"40ms"},"request_queue":{"remainingCapacity":2147483647,"size":0},"thread_pool":{"active_size":1,"current_size":4,"largest_size":4,"core_size":4,"max_size":2147483647}}
2017-12-28 17:55:51.485 [pool-1-thread-2] INFO  DING_OPEN_CLIENT_SDK_LOGGER - {"task":{"completed_count":3,"all_count":3},"base":{"max_qpm":1500,"send_request_period":"40ms"},"request_queue":{"remainingCapacity":2147483647,"size":0},"thread_pool":{"active_size":1,"current_size":4,"largest_size":4,"core_size":4,"max_size":2147483647}}
2017-12-28 17:55:52.485 [pool-1-thread-2] INFO  DING_OPEN_CLIENT_SDK_LOGGER - {"task":{"completed_count":3,"all_count":3},"base":{"max_qpm":1500,"send_request_period":"40ms"},"request_queue":{"remainingCapacity":2147483647,"size":0},"thread_pool":{"active_size":1,"current_size":4,"largest_size":4,"core_size":4,"max_size":2147483647}}
2017-12-28 17:55:53.485 [pool-1-thread-2] INFO  DING_OPEN_CLIENT_SDK_LOGGER - {"task":{"completed_count":3,"all_count":3},"base":{"max_qpm":1500,"send_request_period":"40ms"},"request_queue":{"remainingCapacity":2147483647,"size":0},"thread_pool":{"active_size":1,"current_size":4,"largest_size":4,"core_size":4,"max_size":2147483647}}

展开
收起
wosione 2017-12-28 17:56:12 6571 0
1 条回答
写回答
取消 提交回答
  • Re钉钉SDK后台日志打印关闭
    可以通过设置logger的日志级别为warn关掉
    2018-01-09 16:57:23
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
PostgresChina2018_赖思超_PostgreSQL10_hash索引的WAL日志修改版final 立即下载
Kubernetes下日志实时采集、存储与计算实践 立即下载
日志数据采集与分析对接 立即下载