Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can i see hubot logger messages?

Tags:

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?

like image 723
Baran Avatar asked Jul 14 '13 09:07

Baran


1 Answers

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 
like image 130
aczietlow Avatar answered Sep 17 '22 15:09

aczietlow