-1

I'm looking for a good way of monitoring and logging full exchange between website and the internet.

I know that this can be done with firebug. The main problem I have with it is, that it cannot persist log data over reloads.

Also, if would be very cool to have an ability to log javascript activity and filter the log by the action I'd like to debug (e.g. setting a cookie, change of attribute etc)

Does anyone know something that fits at least some of those requirements, and on the rest performs at least as well as firebug does?

Arsen Zahray
  • 24,367
  • 48
  • 131
  • 224

2 Answers2

3

You might want to check out one of the many JavaScript logging utilities, like log4js. You could use it and or something like PantomJS to build automated testing / monitoring of your web applications. The discussion around JavaScript logging on StackOverflow is pretty good too. Check out these questions:

  1. https://stackoverflow.com/questions/1423267/are-there-any-logging-frameworks-for-javascript
  2. A JavaScript frontend logging system that logs to our backend?
Community
  • 1
  • 1
blong
  • 2,815
  • 8
  • 44
  • 110
  • Thanks for the reply, but I'm mainly looking for something that would let me monitor JS activity without the JS having to log its own actions. Would you know of something like that? – Arsen Zahray Jan 20 '12 at 21:39
  • @ArsenZahray When you say "JS Activity", do you mean in terms of the DOM or some other client action ? Can you expand on the question ? – blong Jan 20 '12 at 21:42
  • DOM, JS function calls, mostly dom though. Basically, I want to open it and see everything that the JS was doing on/with the page – Arsen Zahray Jan 20 '12 at 22:05
  • Again, you might want to check out PhantomJS (it's a headless web browser, there are others): http://stackoverflow.com/questions/814757/headless-internet-browser – blong Jan 20 '12 at 22:37
3

You could try fiddler: http://www.fiddler2.com/fiddler2/

nwaltham
  • 2,067
  • 1
  • 22
  • 40