Open msteiger opened 10 years ago
I went ahead and set up logging to MongoDB. Heroku/Node makes this really easy. I don't log parts/joins though; should I do that?
Here's a link to the log page: http://terabot.herokuapp.com/logs
I also log a timestamp of the message, which currently isn't displayed on the page.
Thanks :-)
Join/quit probably would be marginally useful at best, and spammy at worst. We can leave them off for now and always reassess later
Able to display the timestamps though? Those are more useful
Pagination / archive by day would also be handy, if not too much work - with that in place we could close this as complete :-)
Looking forward to getting to the more fun stuff with integrating GitHub & Jenkins! Much appreciated to have Gooey getting some upgrades
Thinking of the upcoming "Office Hour" sessions, it might be useful to log IRC messages, possibly restricted to certain time constraints.
Obviously this raises certain privacy issues - at least the channel topic should reflect that the channel is logged by Gooey. We should also consider restricting the viewing to certain groups (registered forum users?)
From a technical perspective, recording messages seems to be fairly easy: https://github.com/github/hubot-scripts/blob/master/src/scripts/store-messages-couchdb.coffee
However, Gooey needs a space to upload the data - I doubt that a a full database is appropriate here.
A simpler approach is demonstrated here: http://umashanthi.blogspot.de/2010/10/create-your-irc-channel-and-make-logs.html
The idea is to save the log to a local file (one per day) and move that to a web-accessible folder. This would involve Gooey to relocate from Heroku to movingblocks.net. It would be a lot easier to maintain, because it doesn't involve remote writing (to a DB).