Giter VIP home page Giter VIP logo

hubot-logger's People

Contributors

christhomson avatar jenrzzz avatar jgable avatar wking avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hubot-logger's Issues

Logs not accessible when deployed on heroku?

Should the logs be accessible for a hubot deployed on heroku?

I am just use the default port but when I go to .herokuapp.com:8081, it doesn't connect to anything, and I'm not seeing any thing being logged out. I'm just wondering if I should be expecting that this should be working on heroku. Thanks.

Hubot-xmpp Private Message

On 1 of my Prosody servers I can't seen to get the logs via private message. The latest hubot-xmpp allow privateChatJID to be stored and resolved by msg.send.

        #robot.send direct_user(msg.message.user.id, msg.message.user.room), logs_formatted.join("\n")
        msg.envelope.user.type = 'chat'
        msg.send logs_formatted.join("\n")

Appears to work for private message however the bot logs that reply as messages to the MUC so the next person to request the log gets much more than expected.

I tried modifying direct_user to set the proper msg type etc. Only reason above for user.type = chat vs direct is in PSI and other clients single messages are annoying.

Unable to install via github tarball

I think it is because of the absence of a package.json:

  npm http GET https://github.com/jenrzzz/hubot-logger/tarball/master/hubot-logger@
  npm http 200 https://github.com/jenrzzz/hubot-logger/tarball/master/hubot-logger@
  npm ERR! Error: ENOENT, open '/home/badosu/tmp/npm-11200/1374711263717-0.6852639748249203/package/package.json'
  npm ERR! If you need help, you may report this log at:
  npm ERR!     <http://github.com/isaacs/npm/issues>
  npm ERR! or email it to:
  npm ERR!     <[email protected]>

  npm ERR! System Linux 3.8.0-26-generic
  npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
  npm ERR! cwd /home/badosu/Space/Palpiteros-Hubot
  npm ERR! node -v v0.10.13
  npm ERR! npm -v 1.3.2
  npm ERR! path /home/badosu/tmp/npm-11200/1374711263717-0.6852639748249203/package/package.json
  npm ERR! code ENOENT
  npm ERR! errno 34
  npm ERR! 
  npm ERR! Additional logging details can be found in:
  npm ERR!     /home/badosu/Space/Palpiteros-Hubot/npm-debug.log
  npm ERR! not ok code 0

Unicode support

Keep 🐦 from turning into ðŸ�¦ somewhere along the way.

Not seeing expected results when using What did I miss in the last 18 hours?

Since where this is used is in different timezones and standard policy is to use UTC.
When I join I typically query what I missed since I left 12-18 hrs sometimes. However "What did I miss in the last 18 hours?" only returns what occured on the same day as start not end.

<William> Milton: What did I miss in the last 19 hours?
<Milton> Debug: now 2013-12-20T15:29:08+00:00 | start 2013-12-19T20:29:08+00:00

Only returns messages from the 19th

I'm considering adding an additional condition that would check if start and end are different days. If so then query start to start.endofDay then a second query to get logs for end.startofday to end.

Any better insight?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.