Java and log4j components available.

The BUGCOLLECT.COM Java Client Library and the log4j Appender are available in the downloads section.

To submit reports from Java simply create an instance of the ReportingManager and use the Submit method:

ReportingManager reportingManager = new ReportingManager(
applicationName, applicationPassword);
try
{
...
}
catch(Exception ex)
{
reportingManager.Submit("Exception when trying to ...", ex);
}

applicationName and applicationPassword must be the name and password of an application credential added to your account.

log4j

For those using Apache log4j the bugcollect log4j Appender allows the easiest integration. Simply add an appender in your log4j configuration file:

log4j.appender.A1 = com.bugcollect.log4j.Appender
log4j.appender.A1.applicationName = name
log4j.appender.A1.applicationPassword = password
log4j.rootLogger=ERROR, A1

where name and password must be a valid application credential added to your account with bugcollect.com.