<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
Ensure you set the system property to make all loggers asynchronous.
-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
This is done automatically if you are using the provided shell script.

See more detail at: https://logging.apache.org/log4j/2.x/manual/async.html
-->
<Configuration status="WARN">
  <Appenders>
    <!-- Async Loggers will auto-flush in batches, so switch off immediateFlush. -->
    <RandomAccessFile name="RandomAccessFile" fileName="apiman-gateway.log" immediateFlush="false" append="false">
      <PatternLayout>
        <Pattern>%d %p %c{1.} [%t] %m %ex%n</Pattern>
      </PatternLayout>
    </RandomAccessFile>
    <Console name="Console-Appender" target="SYSTEM_OUT" immediateFlush="false">
      <PatternLayout>
          <pattern>
              [%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %c{1} - %msg%n
          </pattern>
      </PatternLayout>
    </Console>
  </Appenders>
  <Loggers>
    <!-- apiman package only logging -->
    <AsyncLogger level="info" name="io.apiman" additivity="false">
      <AppenderRef ref="RandomAccessFile"/>
      <AppenderRef ref="Console-Appender"/>
    </AsyncLogger>
    <!-- You can add your own loggers with separate levels, etc. -->
    <!-- <AsyncLogger level="info" name="com.example.yourpackage" additivity="false">
      <AppenderRef ref="RandomAccessFile"/>
      <AppenderRef ref="Console-Appender"/>
    </AsyncLogger> -->
    <!-- Root/Global file logging config -->
    <AsyncRoot level="info" includeLocation="false">
      <AppenderRef ref="RandomAccessFile"/>
    </AsyncRoot>
    <!-- Root/Global console logging config -->
    <AsyncRoot level="info">
      <AppenderRef ref="Console-Appender"/>
    </AsyncRoot><commit_msg>fix(vertx): Alter log4j2 async logger config<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
Ensure you set the system property to make all loggers asynchronous.
-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
This is done automatically if you are using the provided shell script.

See more detail at: https://logging.apache.org/log4j/2.x/manual/async.html
-->
<Configuration status="WARN">
  <Appenders>
    <!-- Async Loggers will auto-flush in batches, so switch off immediateFlush. -->
    <RandomAccessFile name="RandomAccessFile" fileName="apiman-gateway.log" immediateFlush="false" append="false">
      <PatternLayout>
        <Pattern>%d %p %c{1.} [%t] %m %ex%n</Pattern>
      </PatternLayout>
    </RandomAccessFile>
    <Console name="Console-Appender" target="SYSTEM_OUT" immediateFlush="false">
      <PatternLayout>
          <pattern>
              [%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %c{1} - %msg%n
          </pattern>
      </PatternLayout>
    </Console>
  </Appenders>
  <Loggers>
    <!-- apiman package only logging -->
    <AsyncLogger level="info" name="io.apiman" additivity="false">
      <AppenderRef ref="RandomAccessFile"/>
      <AppenderRef ref="Console-Appender"/>
    </AsyncLogger>
    <!-- You can add your own loggers with separate levels, etc. -->
    <!-- <AsyncLogger level="info" name="com.example.yourpackage" additivity="false">
      <AppenderRef ref="RandomAccessFile"/>
      <AppenderRef ref="Console-Appender"/>
    </AsyncLogger> -->
    <!-- Root/Global file logging config -->
    <AsyncRoot level="info" includeLocation="false">
      <AppenderRef ref="RandomAccessFile"/>
      <AppenderRef ref="Console-Appender"/>
    </AsyncRoot>
{'fraction_non_alphanumeric': 0.15495342929720576, 'fraction_numerical': 0.006209427039232289, 'mean_word_length': 3.503176620076239, 'pattern_counts': {'":': 0, '<': 76, '<?xml version=': 2, '>': 76, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '669996', 'n_tokens_mistral': 1072, 'n_tokens_neox': 1063, 'n_words': 251}