Skip to content

CouchApp logviewer for PHP errors/exceptions

Notifications You must be signed in to change notification settings

davidreuss/JitterBug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

README

JitterBug is a CouchApp for CouchDB displaying errors/exceptions thrown and catched by script errorhandlers. It is primarily built for PHP applications, and only a PHP errorhandler example is included. But it should fit for other languages as well. Consult the PHP example for how to format the document that should be posted to CouchDB.

It summarizes errors so if you have the same error triggered many times, it will not spam the UI. Also there is some basic stats on errors. Very basic for now.

This is a very very first edition, and the UI still needs some tweaking, code refactoring etc. there is a lot copy paste of similar html/javascript. But, it works!

Install

  • You need CouchApp installed, find it on Github!
  • CouchDB 1.0 required, maybe it works on 0.11.2, not sure

Download source and go into dir, and assuming CouchDB is running on localhost:5984 run

couchapp push app database

where database is your database name. Consult CouchApp documentation if server is running elsewhere.

Also you need to set up vhost for your couchdb, or else the script/style paths won't be correct. In your CouchDB configuration "local.ini" put something similar to

[vhosts]
localhost:5984 = /database/_design/jitterbug/_rewrite

reload couchdb and goto http://localhost:5984

that should be it, now it is up to you getting some errors/exceptions inserted to CouchDB

About

CouchApp logviewer for PHP errors/exceptions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published