<commit_before><commit_msg>switch to non-rotating file logging<commit_after><?xml version="1.0" encoding="UTF-8"?>

<configuration>
    <conversionRule conversionWord="clr"
        converterClass="org.springframework.boot.logging.logback.ColorConverter" />
    <conversionRule conversionWord="wex"
        converterClass="org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter" />
    <conversionRule conversionWord="wEx"
        converterClass="org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter" />

    <property name="CONSOLE_LOG_PATTERN"
        value="${CONSOLE_LOG_PATTERN:-%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}}" />
    <property name="CONSOLE_LOG_CHARSET"
        value="${CONSOLE_LOG_CHARSET:-${file.encoding:-UTF-8}}" />
    <property name="FILE_LOG_PATTERN"
        value="${FILE_LOG_PATTERN:-%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}} ${LOG_LEVEL_PATTERN:-%5p} ${PID:- } --- [%t] %-40.40logger{39} : %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}}" />
    <property name="FILE_LOG_CHARSET"
        value="${FILE_LOG_CHARSET:-${file.encoding:-UTF-8}}" />

    <logger name="org.apache.catalina.startup.DigesterFactory"
        level="ERROR" />
    <logger name="org.apache.catalina.util.LifecycleBase"
        level="ERROR" />
    <logger name="org.apache.coyote.http11.Http11NioProtocol"
        level="WARN" />
    <logger name="org.apache.sshd.common.util.SecurityUtils"
        level="WARN" />
    <logger name="org.apache.tomcat.util.net.NioSelectorPool"
        level="WARN" />
    <logger
        name="org.eclipse.jetty.util.component.AbstractLifeCycle"
        level="ERROR" />
    <logger name="org.hibernate.validator.internal.util.Version"
        level="WARN" />
    <logger name="org.springframework.boot.actuate.endpoint.jmx"
        level="WARN" />

    <property name="LOG_FILE"
        value="${LOG_FILE:-${LOG_PATH:-${LOG_TEMP:-${java.io.tmpdir:-/tmp}}}/spring.log}" />

    <appender name="CONSOLE"
        class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <pattern>${CONSOLE_LOG_PATTERN}</pattern>
            <charset>${CONSOLE_LOG_CHARSET}</charset>
        </encoder>
    </appender>

    <appender name="FILE"
        class="ch.qos.logback.core.FileAppender">
        <encoder>
            <pattern>${FILE_LOG_PATTERN}</pattern>
            <charset>${FILE_LOG_CHARSET}</charset>
        </encoder>
        <file>${LOG_FILE}</file>
    </appender>

    <root level="INFO">
        <appender-ref ref="CONSOLE" />
        <appender-ref ref="FILE" />
    </root>
</configuration>
{'fraction_non_alphanumeric': 0.17881265552790615, 'fraction_numerical': 0.009598293636686812, 'mean_word_length': 3.6435643564356437, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 1, '>': 44, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '6524515', 'n_tokens_mistral': 1003, 'n_tokens_neox': 956, 'n_words': 96}