<commit_before><?xml version="1.0" encoding="UTF-8" ?>
<!--
  ~ Copyright 2015, deepsense.io
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

  <appender name="console" class="org.apache.log4j.ConsoleAppender">
    <param name="Target" value="System.out"/>
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="[%-5p] [%d] [%t] %x %c - %m%n"/>
    </layout>
  </appender>

  <appender name="file" class="org.apache.log4j.rolling.RollingFileAppender">
    <rollingPolicy name="file" class="org.apache.log4j.rolling.TimeBasedRollingPolicy">
      <param name="FileNamePattern" value="${logFile}_seahorse.%d{yyyy-MM-dd}.log" />
    </rollingPolicy>

    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="[%-5p] [%d] [%t] %x %c - %m%n" />
    </layout>
  </appender>

  <logger name="akka" >
    <level value="WARN"/>
  </logger>

  <logger name="com.datastax" >
    <level value ="WARN"/>
  </logger>

  <logger name="io.netty" >
    <level value ="WARN"/>
  </logger>

  <logger name="org.apache.cassandra" >
    <level value ="WARN"/>
  </logger>

  <logger name="org.apache.hadoop" >
    <level value ="WARN"/>
  </logger>

  <logger name="org.apache.spark" >
    <level value ="WARN"/>
  </logger>

  <logger name="org.cassandraunit" >
    <level value ="WARN"/>
  </logger>

  <logger name="org.spark-project" >
    <level value ="WARN"/>
  </logger>

  <logger name="parquet.hadoop" >
    <level value ="WARN"/>
  </logger>

  <root>
    <priority value ="debug" />
    <appender-ref ref="console" />
    <appender-ref ref="file" />
  </root>

</log4j:configuration>
<commit_msg>DS-2694 Reduce slick logging level<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<!--
  ~ Copyright 2015, deepsense.io
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

  <appender name="console" class="org.apache.log4j.ConsoleAppender">
    <param name="Target" value="System.out"/>
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="[%-5p] [%d] [%t] %x %c - %m%n"/>
    </layout>
  </appender>

  <appender name="file" class="org.apache.log4j.rolling.RollingFileAppender">
    <rollingPolicy name="file" class="org.apache.log4j.rolling.TimeBasedRollingPolicy">
      <param name="FileNamePattern" value="${logFile}_seahorse.%d{yyyy-MM-dd}.log" />
    </rollingPolicy>

    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="[%-5p] [%d] [%t] %x %c - %m%n" />
    </layout>
  </appender>

  <logger name="akka" >
    <level value="WARN"/>
  </logger>

  <logger name="com.datastax" >
    <level value ="WARN"/>
  </logger>

  <logger name="io.netty" >
    <level value ="WARN"/>
  </logger>

  <logger name="org.apache.cassandra" >
    <level value ="WARN"/>
  </logger>

  <logger name="org.apache.hadoop" >
    <level value ="WARN"/>
  </logger>

  <logger name="org.apache.spark" >
    <level value ="WARN"/>
  </logger>

  <logger name="org.cassandraunit" >
    <level value ="WARN"/>
  </logger>

  <logger name="org.spark-project" >
    <level value ="WARN"/>
  </logger>

  <logger name="parquet.hadoop" >
    <level value ="WARN"/>
  </logger>

  <logger name="slick">
    <level value="INFO"/>
  </logger>

  <root>
    <priority value ="debug" />
    <appender-ref ref="console" />
    <appender-ref ref="file" />
  </root>

</log4j:configuration>

{'fraction_non_alphanumeric': 0.16935142009325985, 'fraction_numerical': 0.011021619330224672, 'mean_word_length': 3.502862595419847, 'pattern_counts': {'":': 0, '<': 108, '<?xml version=': 2, '>': 108, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1867396', 'n_tokens_mistral': 1643, 'n_tokens_neox': 1578, 'n_words': 395}