Question

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?

Was it helpful?

Solution

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top