<commit_before><configuration>

    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <layout class="ch.qos.logback.classic.PatternLayout">
            <Pattern>
                %logger{36} %5level | %msg%n
            </Pattern>
        </layout>
    </appender>

    <appender name="FILE" class="ch.qos.logback.core.FileAppender">
        <file>studycalendar-test.log</file>
        <layout class="ch.qos.logback.classic.PatternLayout">
            <Pattern>
                %date{HH:mm:ss.SSS} [%thread] %36logger{36} %-5level: %msg%n
            </Pattern>
        </layout>
    </appender>

    <root>
        <appender-ref ref="FILE"/>
    </root>

    <logger name="edu.northwestern.bioinformatics.studycalendar">
        <appender-ref ref="STDOUT"/><commit_msg>Test logfile should truncate for each run<commit_after><configuration>

    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <layout class="ch.qos.logback.classic.PatternLayout">
            <Pattern>
                %logger{36} %5level | %msg%n
            </Pattern>
        </layout>
    </appender>

    <appender name="FILE" class="ch.qos.logback.core.FileAppender">
        <file>studycalendar-test.log</file>
        <append>false</append>
        <layout class="ch.qos.logback.classic.PatternLayout">
            <Pattern>
                %date{HH:mm:ss.SSS} [%thread] %36logger{36} %-5level: %msg%n
            </Pattern>
        </layout>
    </appender>

    <root>
        <appender-ref ref="FILE"/>
    </root>

    <logger name="edu.northwestern.bioinformatics.studycalendar">
        <appender-ref ref="STDOUT"/>
{'fraction_non_alphanumeric': 0.15687462144155057, 'fraction_numerical': 0.009691096305269533, 'mean_word_length': 2.3373737373737375, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, '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': '6244528', 'n_tokens_mistral': 560, 'n_tokens_neox': 527, 'n_words': 78}