<commit_before><?xml version="1.0" encoding="UTF-8"?>
<configuration>

    <include resource="org/springframework/boot/logging/logback/base.xml"/>

    <property name="LOG_DIR" value="logs"/>
    <property name="LOG_FILE" value="jvm-bloggers.log"/>

    <appender name="ROLLING" class="ch.qos.logback.core.rolling.RollingFileAppender">

        <file>${LOG_DIR}/${LOG_FILE}</file>

        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <fileNamePattern>${LOG_DIR}/${LOG_FILE}-%d{yyyy-MM-dd}.log.gz</fileNamePattern>
        </rollingPolicy>

        <encoder>
            <pattern>${FILE_LOG_PATTERN}</pattern>
        </encoder>

    </appender>

    <root level="INFO">
        <appender-ref ref="ROLLING"/>
    </root>

    <logger name="org.springframework.web" level="INFO"/>
    <logger name="org.springframework.transaction" level="INFO"/>

    <springProfile name="test,dev">
        <logger name="com.jvm_bloggers" level="DEBUG"/>
        <logger name="org.hibernate.SQL" level="DEBUG"/>
    </springProfile><commit_msg>Disable sql loggin on dev and test profiles<commit_after><?xml version="1.0" encoding="UTF-8"?>
<configuration>

    <include resource="org/springframework/boot/logging/logback/base.xml"/>

    <property name="LOG_DIR" value="logs"/>
    <property name="LOG_FILE" value="jvm-bloggers.log"/>

    <appender name="ROLLING" class="ch.qos.logback.core.rolling.RollingFileAppender">

        <file>${LOG_DIR}/${LOG_FILE}</file>

        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <fileNamePattern>${LOG_DIR}/${LOG_FILE}-%d{yyyy-MM-dd}.log.gz</fileNamePattern>
        </rollingPolicy>

        <encoder>
            <pattern>${FILE_LOG_PATTERN}</pattern>
        </encoder>

    </appender>

    <root level="INFO">
        <appender-ref ref="ROLLING"/>
    </root>

    <logger name="org.springframework.web" level="INFO"/>
    <logger name="org.springframework.transaction" level="INFO"/>

    <springProfile name="test,dev">
        <logger name="com.jvm_bloggers" level="DEBUG"/>
        <!--<logger name="org.hibernate.SQL" level="DEBUG"/>-->
    </springProfile>
{'fraction_non_alphanumeric': 0.17776757005052826, 'fraction_numerical': 0.002756086357372531, 'mean_word_length': 3.5, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 2, '>': 56, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '2122661', 'n_tokens_mistral': 702, 'n_tokens_neox': 677, 'n_words': 94}