From 4cdea0453d58bc29b616143642c084a5fa737c09 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 3 Mar 2014 08:46:09 -0800 Subject: [PATCH] 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' --- hubot/README.md | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.26.2