<commit_before><?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://xmlns.opennms.org/xsd/config/syslogd"
        xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:this="http://xmlns.opennms.org/xsd/config/syslogd"
        xmlns:ns2="http://www.w3.org/1999/xhtml"
        xmlns:ns="http://www.w3.org/2001/XMLSchema"
        xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty">
  <annotation>
    <documentation>XML Schema for the trapd-configuration.xml configuration
    file. Version: $Id: syslogd-configuration.xsd 2261 2005-07-03 02:54:10 +0000 (Sun, 03 Jul 2005) djgregor $</documentation>
  </annotation>

  <element name="syslogd-configuration">
    <annotation>
      <documentation>Top-level element for the syslogd-configuration.xml
      configuration file.</documentation>
    </annotation>

    <complexType>
      <attribute name="syslog-port" type="positiveInteger" use="required">
        <annotation>
          <documentation>The port on which trapd listens for SYSLOG Messages. The
          standard port is 514.</documentation>
        </annotation>
      </attribute>

      <attribute name="new-suspect-on-message" type="boolean" use="required">
        <annotation>
          <documentation>Whether traps from devices unknown to OpenNMS should
          generate newSuspect events.</documentation>
        </annotation>
      </attribute>
    </complexType>
  </element>
</schema><commit_msg>Refactoring of syslogd, moving the Regular Expressions handling forwarded events into the configuration file<commit_after><?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://xmlns.opennms.org/xsd/config/syslogd"
        xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:this="http://xmlns.opennms.org/xsd/config/syslogd"
        xmlns:ns2="http://www.w3.org/1999/xhtml"
        xmlns:ns="http://www.w3.org/2001/XMLSchema"
        xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty">
  <annotation>
    <documentation>XML Schema for the syslogd-configuration.xml configuration
    file. Version: $Id: syslogd-configuration.xsd 3400 joed $</documentation>
  </annotation>

  <element name="syslogd-configuration">
    <annotation>
      <documentation>Top-level element for the syslogd-configuration.xml
      configuration file.</documentation>
    </annotation>

    <complexType>
      <attribute name="syslog-port" type="positiveInteger" use="required">
        <annotation>
          <documentation>The port on which Syslogd listens for SYSLOG Messages. The
          standard port is 514.</documentation>
        </annotation>
      </attribute>

      <attribute name="new-suspect-on-message" type="boolean" use="required">
        <annotation>
          <documentation>Whether messages from devices unknown to OpenNMS should
          generate newSuspect events.</documentation>
        </annotation>
      </attribute>
      
      <attribute name="forwarding-regexp" type="string" use="required">
        <annotation>
          <documentation>The regular expression used to determine if a message is forwarded</documentation>
        </annotation>
      </attribute>
      
      <attribute name="matching-group-host" type="positiveInteger" use="required">
        <annotation>
          <documentation>The matching group for the host</documentation>
        </annotation>
      </attribute>
      
      <attribute name="matching-group-message" type="positiveInteger" use="required">
        <annotation>
          <documentation>The matching group for the message</documentation>
        </annotation>
      </attribute>
      
    </complexType>
  </element>
</schema>
{'fraction_non_alphanumeric': 0.12872592983381692, 'fraction_numerical': 0.02532313373780005, 'mean_word_length': 3.1262241566920568, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 2, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 10, 'xml': 22}, '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': '5008814', 'n_tokens_mistral': 1181, 'n_tokens_neox': 1067, 'n_words': 223}