<commit_before>package com.github.danielwegener.logback.kafka;

import ch.qos.logback.classic.spi.ILoggingEvent;

/**
 * See <a href="https://github.com/danielwegener/logback-kafka-appender">logback-kafka-appender at github</a>
 */
public class KafkaAppender extends KafkaAppenderBase<ILoggingEvent> {
}
<commit_msg>+do never ever log a log message from any logger with the name org.apache.kafka.*. This closes #7<commit_after>package com.github.danielwegener.logback.kafka;

import ch.qos.logback.classic.spi.ILoggingEvent;

/**
 * See <a href="https://github.com/danielwegener/logback-kafka-appender">logback-kafka-appender at github</a>
 */
public class KafkaAppender extends KafkaAppenderBase<ILoggingEvent> {

    private static final String KAFKA_LOGGER_PREFIX = "org.apache.kafka";

    @Override
    public void doAppend(ILoggingEvent eventObject) {
        if (eventObject.getLoggerName().startsWith(KAFKA_LOGGER_PREFIX)) return;
        super.doAppend(eventObject);
    }

}

{'fraction_non_alphanumeric': 0.116751269035533, 'fraction_numerical': 0.0010152284263959391, 'mean_word_length': 4.904191616766467, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4231787', 'n_tokens_mistral': 340, 'n_tokens_neox': 335, 'n_words': 59}