From: W. Trevor King Date: Mon, 3 Mar 2014 16:46:09 +0000 (-0800) Subject: hubot/README.md: Mention HUBOT_LOG_LEVEL X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4cdea0453d58bc29b616143642c084a5fa737c09;p=dockerfile.git hubot/README.md: Mention HUBOT_LOG_LEVEL Strangely, this environment variable does not seem to be documented at all: hubot$ git grep HUBOT_LOG_LEVEL src/robot.coffee: @logger = new Log process.env.HUBOT_LOG_LEVEL or 'info' --- diff --git a/hubot/README.md b/hubot/README.md index 131a3dd..e38a75b 100644 --- a/hubot/README.md +++ b/hubot/README.md @@ -34,6 +34,9 @@ If you want the GitHub scripts to be able to access private repositories (e.g. to link to private issues or commits), you need to set `HUBOT_GITHUB_TOKEN` to your [OAuth token][token]. +If things aren't working as you'd expect, you can crank up the logging +with `HUBOT_LOG_LEVEL=debug` (see [robot.coffee][]). + [hubot]: https://github.com/github/hubot [hubot-irc]: https://github.com/nandub/hubot-irc [scripts]: https://github.com/github/hubot-scripts/tree/master/src/scripts @@ -47,3 +50,4 @@ set `HUBOT_GITHUB_TOKEN` to your [OAuth token][token]. [redis-brain]: https://github.com/github/hubot-scripts/blob/master/src/scripts/redis-brain.coffee [redis]: ../redis/ [token]: https://help.github.com/articles/creating-an-access-token-for-command-line-use +[robot.coffee]: https://github.com/github/hubot/blob/master/src/robot.coffee