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

    <!-- Defaults from Spring -->

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

    <!-- Console logging: default -->

    <include resource="org/springframework/boot/logging/logback/console-appender.xml" />

    <!-- File logging overridden -->

    <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <encoder>
            <pattern>${FILE_LOG_PATTERN}</pattern>
        </encoder>
        <file>${LOG_FILE}</file>
        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <fileNamePattern>${LOG_FILE}.%d{yyyy-MM-dd}.log.gz</fileNamePattern>
            <maxHistory>30</maxHistory>
        </rollingPolicy>
    </appender>

    <!-- Root level -->

    <root level="INFO">
        <appender-ref ref="CONSOLE" />
        <appender-ref ref="FILE" />
    </root>

    <!-- Custom loggers -->

    <logger name="org.springframework" level="WARN"/>
    <logger name="org.apache.catalina.util.SessionIdGeneratorBase" level="DEBUG"/>
    <logger name="net.nemerosa.ontrack" level="DEBUG"/>
    <logger name="net.nemerosa.ontrack.job" level="INFO"/>
    <logger name="net.nemerosa.ontrack.extension.svn.client.SVNClient" level="WARN"/>
    <!--<logger name="net.nemerosa.ontrack.boot.metrics" level="TRACE"/>-->

</configuration><commit_msg>#559 Reduced log verbosity for security components<commit_after><?xml version="1.0" encoding="UTF-8"?>
<configuration>

    <!-- Defaults from Spring -->

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

    <!-- Console logging: default -->

    <include resource="org/springframework/boot/logging/logback/console-appender.xml" />

    <!-- File logging overridden -->

    <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <encoder>
            <pattern>${FILE_LOG_PATTERN}</pattern>
        </encoder>
        <file>${LOG_FILE}</file>
        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <fileNamePattern>${LOG_FILE}.%d{yyyy-MM-dd}.log.gz</fileNamePattern>
            <maxHistory>30</maxHistory>
        </rollingPolicy>
    </appender>

    <!-- Root level -->

    <root level="INFO">
        <appender-ref ref="CONSOLE" />
        <appender-ref ref="FILE" />
    </root>

    <!-- Custom loggers -->

    <logger name="org.springframework" level="WARN"/>
    <logger name="org.apache.catalina.util.SessionIdGeneratorBase" level="DEBUG"/>
    <logger name="net.nemerosa.ontrack" level="DEBUG"/>
    <logger name="net.nemerosa.ontrack.job" level="INFO"/>
    <logger name="net.nemerosa.ontrack.service.security" level="INFO"/>
    <logger name="net.nemerosa.ontrack.extension.svn.client.SVNClient" level="WARN"/>
    <!--<logger name="net.nemerosa.ontrack.boot.metrics" level="TRACE"/>-->

</configuration>
{'fraction_non_alphanumeric': 0.1784133469526728, 'fraction_numerical': 0.004426285325161729, 'mean_word_length': 3.2152080344332856, 'pattern_counts': {'":': 0, '<': 74, '<?xml version=': 2, '>': 74, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '7577091', 'n_tokens_mistral': 920, 'n_tokens_neox': 889, 'n_words': 128}