hubot-archive / hubot-seen

A hubot script that tracks when/where users were last seen.
https://www.npmjs.org/package/hubot-seen
24 stars 15 forks source link

don't log shell comand, or everything comes weird fix #5 #6

Closed skatkov closed 9 years ago

patcon commented 10 years ago

I think the solution here is to not use console.log for debug output. Putting stuff for a specific adapter doesn't seem right to me

Example: https://github.com/github/hubot/blob/master/src/adapter.coffee#L72

Here's where the logger in init: https://stackoverflow.com/questions/17638281/where-can-i-see-hubot-logger-messages

I'm thinking debug level makes sense.

Thanks again for submitting these fixes :)

patcon commented 9 years ago

Closed by #9. Thanks guys!