Use isHandling() in AbstractProcessingHandler to determine if log record is being handled.