簡體   English   中英

我在哪里可以看到hubot記錄器消息?

[英]Where can i see hubot logger messages?

我是hubot的新手,在那里我看到一個聲明robot.logger.debug“在#{commit.url}上嘗試gitio”

有人能告訴我在哪里可以看到這個調試消息。 我正在使用./bin/hubot命令來運行它。 有沒有辦法在調試模式下運行它? 所以我可以看到調試消息?

將環境變量HUBOT_LOG_LEVEL設置為debug 我一直在使用這個shell腳本啟動hubot

< - 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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM