<commit_before><?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>

  <display-name>Cipango Console</display-name>
  
  <filter>
    <filter-name>console</filter-name>
    <filter-class>org.cipango.console.ConsoleFilter</filter-class>
   </filter>
    
   <filter-mapping>
     <filter-name>console</filter-name>
     <url-pattern>/*</url-pattern>
  </filter-mapping>
  
  <servlet>
    <servlet-name>SipLogServlet</servlet-name>
    <servlet-class>org.cipango.console.SipLogServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>

  <servlet-mapping>
    <servlet-name>SipLogServlet</servlet-name>
    <url-pattern>ws-logs</url-pattern>
  </servlet-mapping>
    
  <!-- <commit_msg>Disable the websocket servlet as it trows exception on startup<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>

  <display-name>Cipango Console</display-name>
  
  <filter>
    <filter-name>console</filter-name>
    <filter-class>org.cipango.console.ConsoleFilter</filter-class>
   </filter>
    
   <filter-mapping>
     <filter-name>console</filter-name>
     <url-pattern>/*</url-pattern>
  </filter-mapping>
  <!--
  <servlet>
    <servlet-name>SipLogServlet</servlet-name>
    <servlet-class>org.cipango.console.SipLogServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>

  <servlet-mapping>
    <servlet-name>SipLogServlet</servlet-name>
    <url-pattern>ws-logs</url-pattern>
  </servlet-mapping>
    -->
  <!-- 
{'fraction_non_alphanumeric': 0.1826036866359447, 'fraction_numerical': 0.013824884792626729, 'mean_word_length': 3.364321608040201, 'pattern_counts': {'":': 0, '<': 68, '<?xml version=': 2, '>': 66, 'https://': 0, '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': '4884272', 'n_tokens_mistral': 656, 'n_tokens_neox': 625, 'n_words': 75}