July 17, 2007
At work, as well as on my freelance and personal projects, I have to deal with many applications distributed across multiple servers; and like many developers I follow the common practice of having the application email me whenever an error occurs with the full details of the exception and whatever other information may seem relevant. The problem with this is that it is not an scalable solution, either your inbox becomes a mess of bug reports or worse, when a site or application has high traffic (like the one at work) and something happens in the middle of the night, I can easily find my inbox with 10,000 emails next morning. That's why I decided to find an alternative solution.
Enter BugLogHQ, this is an idea I've been toying for some time now and wanted to share as an open source project since I think other developers may also find it useful. The idea was to provide a mechanism to replace the email messages while at the same time retaining the richness of the information that can be passed on an HTML email. The approach to BugLogHQ is to have the application send the error information to another application instead of emailing it directly to me. Therefore many applications in multiple servers can direct their bug reports to the same central location, providing this way a centralized point where to have a general view of what is going on.
Applications can submit their bug reports via a webservice or a direct form post.
All the bug reports received by BugLogHQ are stored on a normalized database (MySQL), opening thus the possibility to do all kinds of querying, reporting and data mining on this data. The BugLogHQ front end allows for some manipulation of this data, but I imagine this can be extended and improved to perform better reporting.
BugLogHQ is open source and distributed under the Apache 2 license; this is the initial version so bugs and weird things are expected. Read the readme.txt on the installation zip for more installation and usage notes.
Download BugLogHQ Here.
Comments and suggestions are more than welcome.
UPDATE: I forgot to include a link to a demo of the application: /buglogdemo. The username and password is admin/admin
UPDATE 2: The download location has been moved to RiaForge