---
title: "storm 打印debug日志"
author: "ynp"
date: "2015-12-14T17:44:52Z"
tags: []
categories: ["企业架构"]
slug: "storm-debug"
draft: false
lastmod: "2015-12-14T17:44:52Z"
id: 2264031
url: "https://ynp.iteye.com/blog/2264031"
---

storm 打印debug日志

storm采用了slf4j+logback方式，storm根路径下有个logback文件夹，下面有cluster.xml ，对storm日志的配置。
想要输出debug模式的数据，修改Supervisors 下cluster.xml文件即可，
  <root level="DEBUG">
    <appender-ref ref="A1"/>
  </root>
另：不用重启storm，就能生效

http://www.cnblogs.com/zhuawang/p/3999235.html
http://www.cnblogs.com/aquastone/p/storm_log4j_or_logback.html
http://m.blog.csdn.net/blog/caodaoxi/8961575