News for hackers. Stuff that matters.
Re:Show HN: Proxino -- Monitor and Debug your JavaScript by bdr on Thursday June 07, 2012 @07:06PM (#4081806)
There are already services (like Sentry) that track errors well. I want a service that focuses on the non-error logging part.

I typically develop my JS with a lot of console.log calls. Let's say a hundred at page load, and more for each user action, and when there's new data coming down from the server. I'm trying to fix a bug that my friend is having on my new project, but I can't reproduce it locally. I want to see those console logs from her sessions. There's no tool that's designed for this right now. For example, most analytics platforms send an HTTP request on every event.

I'm already using this wrapper http://paulirish.com/2009/log-a-lightweight-wrapper-for-cons..., which wraps console.log and keeps a history client-side. That would be a good starting point. Just push that history up to the server, up to once a second or so.

I should be able to filter by user and browser window session, and ideally other features of the client or log contents, but really the user+browser session are the most important.

Does a good solution exist?

Re:Show HN: Proxino -- Monitor and Debug your JavaScript by ricardobeat on Thursday June 07, 2012 @07:44PM (#4081934)
Not feasible for most apps, but if you already have a websocket open, just stream the logs back to the server. Be prepared to store massive amounts of data even for a few hundred clients.
Re:Show HN: Proxino -- Monitor and Debug your JavaScript by sim0n on Thursday June 07, 2012 @08:20PM (#4082015)
In the Proxino video, I believe it said you can log arbitrary messages which can then be accessed via the web backend. You could probably just make a wrapper for console.log which both pushes the message to Proxino and logs it in the console.
Re:Show HN: Proxino -- Monitor and Debug your JavaScript by bdr on Thursday June 07, 2012 @08:43PM (#4082079)
Yes, I saw that. I'm hoping Proxino will add more structure to that data and ways to interact with it.
Re:Show HN: Proxino -- Monitor and Debug your JavaScript by nealerickson on Thursday June 07, 2012 @09:18PM (#4082187)
Personally, I use Loggr (http://loggr.net) for tracking errors and events. You can tag your events however you want so it is really easy to track user sessions and so on.
Re:Show HN: Proxino -- Monitor and Debug your JavaScript by gzavitz on Thursday June 07, 2012 @11:49PM (#4082592)
Re:Show HN: Proxino -- Monitor and Debug your JavaScript by bdr on Friday June 08, 2012 @12:20AM (#4082663)
Wow, that looks cool. Thanks.