I am new to hubot and there i see a statement robot.logger.debug "trying gitio on #{commit.url}"
Can someone tell me where can i see this debug message. I am using ./bin/hubot command to run it. Is there any way to run it in debug mode? so I can see debug messages?
Set the environment variable HUBOT_LOG_LEVEL
to debug
. I've been starting hubot
using this shell script.
<-- 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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.