Class TicketLoggingHandler

java.lang.Object
java.util.logging.Handler
com.aoapps.hodgepodge.logging.QueuedHandler
com.aoindustries.aoserv.client.ticket.TicketLoggingHandler

public class TicketLoggingHandler extends QueuedHandler

An implementation of Handler that logs to the ticket system. It queues log entries and logs them in the background. The log entries are added in the order received, regardless of priority.

Will first look for any open/hold/bounced ticket that is for the same brand, account, language, type, level, prefix, classname, method, and category. If found, it will annotate that ticket. If not found, it will create a new ticket.

To minimize resource consumption, this shares one ExecutorService for all handlers, which means tickets are fed to the master(s) sequentially, even across many different connectors.

Author:
AO Industries, Inc.