import java.util.logging.Logger;
import java.util.logging.SimpleFormatter;
public class LoggingHandler extends Handler {
private static final String HANDLERS_PROPERTY = "handlers";
private static final String ROOT_LOGGER_NAME = "";
<BUG>private static final String[] NO_HANDLERS = new String[0];
private static final Set<String> EXCLUDED_LOGGERS = ImmutableSet.of("io.grpc", "io.netty",
"com.google.api.client.http", "sun.net.www.protocol.http");</BUG>
private final LoggingOptions options;
<BUG>private final List<LogEntry> buffer = new LinkedList<>();
private final WriteOption[] writeOptions;
private Logging logging;
</BUG>
private Level flushLevel;

import java.util.logging.Logger;
import java.util.logging.SimpleFormatter;
public class LoggingHandler extends Handler {
private static final String HANDLERS_PROPERTY = "handlers";
private static final String ROOT_LOGGER_NAME = "";
private static final String[] NO_HANDLERS = new String[0];
private static final ThreadLocal<Boolean> inPublishCall = new ThreadLocal<>();
private final LoggingOptions options;
private final WriteOption[] writeOptions;
private List<LogEntry> buffer = new LinkedList<>();
private volatile Logging logging;
private Level flushLevel;
