我是hubot的新手,在那里我看到一个声明robot.logger.debug"在#{commit.url}上尝试gitio"
有人能告诉我在哪里可以看到这个调试消息.我正在使用./bin/hubot命令来运行它.有没有办法在调试模式下运行它?所以我可以看到调试消息?
acz*_*low 40
将环境变量设置HUBOT_LOG_LEVEL为debug.我一直在hubot使用这个shell脚本.
< - startbot.sh - >
#!/bin/bash
export HUBOT_HIPCHAT_JID="<your hipchat id>"
export HUBOT_HIPCHAT_PASSWORD="<your password>"
export HUBOT_LOG_LEVEL="debug"
bin/hubot --adapter hipchat
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
12915 次 |
| 最近记录: |