What Is BugLogHQ

BugLogHQ is a tool to centralize the handling of automated bug reports from multiple applications. BugLogHQ provides a unified view of error messages ent from any number of applications, allowing the developer to search, graph, forward, and explore the bug reports submitted by the applications.

All bug reports received by BugLogHQ are stored on a normalized database, thus providing the option to the developers to further extend the application o leverage this information.

 


Installation and Requirements:

* BugLogHQ has the following requirements:

  • Adobe ColdFusion 8 or compatible CFML engine 
  • MySQL or MSSQL database
  • Additionally, the CFML server must be configured to allow the application to create CFC and Java objects

* To install BugLog just unpack the zip file into the root of your webserver. BugLogHQ assumes it will be installed on a directory or mapping named /bugLog.

* Run the corresponding SQL script for your database. The script can be found in the /install directory. This  will create the necessary tables.

* By default bugLogHQ uses a datasource named "bugLog" with no password, to change this go to:
       /bugLog/config/buglog-config.xml.cfm
    Change the <setting /> tags for "db.dsn", "db.dbtype", "db.username", and/or "db.password" as needed.
       
* To access the bugLogHQ interface, go to /bugLog. The default username/password is:
        username: admin
        password: admin
    IMPORTANT: To change the admin password or to create additional users click on the "Settings" link on
        the upper right corner of the screen

* TESTING AND VERIFICATION:
    After installation use your browser to go to /bugLog/test and follow the links to test both the client
    and server side of buglog.

* FOR DEBUGGING ONLY (OPTIONAL):
    If you wish to receive email notices when the application itself has a problem, setup proper email
    at the following locations:
        /bugLog/hq/Application.cfc(lines 14-15)
         /bugLog/hq/config/config.xml.cfm(lines 10-11)

 


 

Integrating BugLogHQ into your Applications

Applications can send bug reports to BugLogHQ via three different ways:

  • SOAP Webservice call
  • HTTP post
  • Direct CFC call

BugLogHQ provides a CFC that can be used to send the bug reports. This CFC is  located in /bugLog/client/bugLogService.cfc.This is the only file that needs to be distributed with any application that wants to submit reports to BugLogHQ.

You may instantiate and keep the instance of this CFC in some a scope such as Application and then just call the "notifyService" method in it whenever the application needs to submit a bug report.

To initialize the bugLogService, call the Init()method. This method takes three parameters:

  • bugLogListener:    The location of the listener where to send the bug reports
  • bugEmailRecipients: A comma-delimited list of email addresses to which send the bug reports in case there is an error submitting the report to the bugLog listener.
  • bugEmailSender:    The sender address to use when sending the emails mentioned above.


The bugLogListener parameter can be any of:

  • WSDL pointing to /bugLog/listeners/bugLogListenerWS.cfc(to submit the report using a webservice),
  • Full URL pointing to /bugLog/listeners/bugLogListenerREST.cfm(to submit as an http post)
  • Path to /bugLog/listeners/bugLogListenerWS.cfcin dot notation (i.e. bugLog.listeners.bugLogListenerWS)


If an error occurs while submitting the report to the listener, then bugLogService will automatically send the same information as an email to the addresses provided in the Init()method.

TIP: Check the files in  /bugLog/test/for an example of how to use the bugLog client CFC



BugLogHQ Interface

To access the BugLogHQ interface, go to /bugLog/on your bugLog server; the interface is password protected. The default username and password is: admin / admin.

From here you can have an overview of every bug report that has been received. Everything is pretty self-explanatory, and there are lots of things you can click to visualize the data in different ways.


Can BugLogHQ be Used with Other Server Technologies (ASP, Javascript, Java, Ruby, etc)?

Yes, BugLogHQ receives bug reports from applications using standard protocols such as SOAP and REST, so any web technology that is capable to submit messages using those protocols can use BugLogHQ for bug tracking.

The only restrictions for non-CFML technologies would be that they would not be able to use the included BugLogHQ Client service since it is written as a CFML Component (CFC)



forum

Need Some Help? Have Suggestions?

Check out the BugLogHQ Forums

Click for more screenshots
Click for more screenshots