<commit_before><?xml version="1.0" encoding="UTF-8" ?>
<!--
  Copyright 2015 herd contributors

  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.
-->
<!-- Refresh configuration changes every 60 seconds. If this value is changed to 0, then no more monitoring will occur. -->
<Configuration status="warn" monitorInterval="60">
   <Appenders>

      <!-- A simple console appender to use by default. -->
      <Console name="Console" target="SYSTEM_OUT">
         <PatternLayout pattern="%d{MMM-dd-yyyy HH:mm:ss.SSS} [%t] %-5p %c{5}.%M %X{uid} %X{activitiProcessInstanceId} - %m%n"/>
      </Console>

   </Appenders>

   <Loggers>
      <!-- The default logging level for herd is "info". -->
      <Logger name="org.finra.herd" level="info" additivity="false">
          <AppenderRef ref="Console"/>
      </Logger>

      <!-- Enable HTTP request logging by setting this class to debug level. -->
      <Logger name="org.finra.herd.ui.RequestLoggingFilter" level="debug" additivity="false">
          <AppenderRef ref="Console"/>
      </Logger>

      <!--
       Explicitly turn off logging in certain Activiti "timer" classes so background tasks don't provide unnecessary error logging for "normal" situations
       such as user configured Activiti workflows with invalid classes specified, etc. We will handle the logging ourselves in our custom herd Activiti
       classes wired into the Activiti process engine configuration.
      -->
      <Logger name="org.activiti.engine.impl.jobexecutor.TimerCatchIntermediateEventJobHandler" level="off" additivity="false">
          <AppenderRef ref="Console"/>
      </Logger>
      <Logger name="org.activiti.engine.impl.jobexecutor.TimerExecuteNestedActivityJobHandler" level="off" additivity="false">
          <AppenderRef ref="Console"/>
      </Logger>
      <Logger name="org.activiti.engine.impl.jobexecutor.TimerStartEventJobHandler" level="off" additivity="false">
          <AppenderRef ref="Console"/>
      </Logger>
      <Logger name="org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable" level="off" additivity="false">
          <AppenderRef ref="Console"/>
      </Logger>

      <!-- We are using "warn" as the default level which will prevent too much logging (e.g. info, debug, etc.) unless specifically configured with a separate Logger. -->
      <Root level="warn">
         <AppenderRef ref="Console"/>
      </Root>
   </Loggers>
</Configuration>
<commit_msg>DM-8866 add spring cache logger<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<!--
  Copyright 2015 herd contributors

  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.
-->
<!-- Refresh configuration changes every 60 seconds. If this value is changed to 0, then no more monitoring will occur. -->
<Configuration status="warn" monitorInterval="60">
   <Appenders>

      <!-- A simple console appender to use by default. -->
      <Console name="Console" target="SYSTEM_OUT">
         <PatternLayout pattern="%d{MMM-dd-yyyy HH:mm:ss.SSS} [%t] %-5p %c{5}.%M %X{uid} %X{activitiProcessInstanceId} - %m%n"/>
      </Console>

   </Appenders>

   <Loggers>
      <!-- The default logging level for herd is "info". -->
      <Logger name="org.finra.herd" level="info" additivity="false">
          <AppenderRef ref="Console"/>
      </Logger>

      <!-- Enable HTTP request logging by setting this class to debug level. -->
      <Logger name="org.finra.herd.ui.RequestLoggingFilter" level="debug" additivity="false">
          <AppenderRef ref="Console"/>
      </Logger>

      <!--
       Explicitly turn off logging in certain Activiti "timer" classes so background tasks don't provide unnecessary error logging for "normal" situations
       such as user configured Activiti workflows with invalid classes specified, etc. We will handle the logging ourselves in our custom herd Activiti
       classes wired into the Activiti process engine configuration.
      -->
      <Logger name="org.activiti.engine.impl.jobexecutor.TimerCatchIntermediateEventJobHandler" level="off" additivity="false">
          <AppenderRef ref="Console"/>
      </Logger>
      <Logger name="org.activiti.engine.impl.jobexecutor.TimerExecuteNestedActivityJobHandler" level="off" additivity="false">
          <AppenderRef ref="Console"/>
      </Logger>
      <Logger name="org.activiti.engine.impl.jobexecutor.TimerStartEventJobHandler" level="off" additivity="false">
          <AppenderRef ref="Console"/>
      </Logger>
      <Logger name="org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable" level="off" additivity="false">
          <AppenderRef ref="Console"/>
      </Logger>
       <logger name="org.springframework.cache" level="trace">
        <appender-ref ref="Console" />
       </logger>

      <!-- We are using "warn" as the default level which will prevent too much logging (e.g. info, debug, etc.) unless specifically configured with a separate Logger. -->
      <Root level="warn">
         <AppenderRef ref="Console"/>
      </Root>
   </Loggers>
</Configuration>

{'fraction_non_alphanumeric': 0.11655827913956979, 'fraction_numerical': 0.006670001667500417, 'mean_word_length': 3.3463768115942027, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 2, '>': 82, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '4148336', 'n_tokens_mistral': 1635, 'n_tokens_neox': 1586, 'n_words': 558}