<commit_before><lps-configuration>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
* Copyright 2001-2004 Laszlo Systems, Inc.  All Rights Reserved.              *
* Use is subject to license terms.                                            *
* X_LZ_COPYRIGHT_END ****************************************************** -->

    <!-- Global default options -->
    <option name="content-encoding-user-agent" >
        <deny>
            <!-- Deny Netscape 4.* -->
            <pattern>Mozilla/4\.[0-9]+ \[\w+\]</pattern>
            <!-- Deny IE 4.x -->
            <pattern>MSIE 4\.[0-9]+.*</pattern>
            <!-- Deny PocketPC IE -->
            <pattern>Mozilla/2\.0 .*</pattern>
        </deny>
    </option>

    <!-- Disable POST keep alives for flash versions less than 6.49 if user
         agent is Mozilla, Firefox, Firebird, or Netscape 7.1 -->
    <option name="disable-post-keep-alive">
        <allow>
            <pattern>Mozilla/5\.0 \(Windows</pattern>
        </allow>
    </option>

    <option name="connection-user-agent" >
        <deny>
            <!-- Deny Safari -->
            <pattern>Safari*</pattern>
        </deny>
    </option>

    <!-- Path is relative to webapp -->
    <application path="/examples/dataimage2.lzx">
        <option name="proxy-security-urls">
            <allow>
                <!-- Trusted urls -->
                <pattern>http://.*\.laszlosystems\.com/.*</pattern>
                <pattern>http://.*\.oddtodd\.com/.*</pattern>
                <pattern>file:logo.*</pattern>
            </allow>
        </option> 
    </application>

    <!-- =========================================== -->
    <!-- LPS log4j configuration                     -->
    <!-- See http://jakarta.apache.org/log4j/docs/.  -->
    <!-- =========================================== -->
    <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j">

        <appender name="lps" class="org.apache.log4j.RollingFileAppender">

            <!-- ==================================================== -->
            <!-- By default, the LPS creates a log file in your       -->
            <!-- web application's WEB-INF/lps/work/log directory.    -->
            <!-- If you wish to place that file somewhere else, like  -->
            <!-- /var/adm/logs, then uncomment the line below.        -->
            <!-- ==================================================== -->
            <!--
            <param name="File" value="/var/adm/logs/lps.log" />
            -->

            <!--
            <param name="MaxFileSize" value="10MB" />
            -->
            <param name="MaxBackupIndex" value="10" />

            <layout class="org.apache.log4j.PatternLayout">
                <param name="ConversionPattern" 
                       value="%d{dd MMM yyyy HH:mm:ss} (%x) %-5p %-20c{2} - %m%n"/>
            </layout>        
        </appender>
        
        <logger name="org.openlaszlo" additivity="false">
            <priority value="debug" />
            <appender-ref ref="lps" />
        </logger>

        <logger name="org.apache.axis" additivity="false"><commit_msg>+ Set default debug level to 'warn'<commit_after><lps-configuration>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
* Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
* Use is subject to license terms.                                            *
* X_LZ_COPYRIGHT_END ****************************************************** -->

    <!-- Global default options -->
    <option name="content-encoding-user-agent" >
        <deny>
            <!-- Deny Netscape 4.* -->
            <pattern>Mozilla/4\.[0-9]+ \[\w+\]</pattern>
            <!-- Deny IE 4.x -->
            <pattern>MSIE 4\.[0-9]+.*</pattern>
            <!-- Deny PocketPC IE -->
            <pattern>Mozilla/2\.0 .*</pattern>
        </deny>
    </option>

    <!-- Disable POST keep alives for flash versions less than 6.49 if user
         agent is Mozilla, Firefox, Firebird, or Netscape 7.1 -->
    <option name="disable-post-keep-alive">
        <allow>
            <pattern>Mozilla/5\.0 \(Windows</pattern>
        </allow>
    </option>

    <option name="connection-user-agent" >
        <deny>
            <!-- Deny Safari -->
            <pattern>Safari*</pattern>
        </deny>
    </option>

    <!-- Path is relative to webapp -->
    <application path="/examples/dataimage2.lzx">
        <option name="proxy-security-urls">
            <allow>
                <!-- Trusted urls -->
                <pattern>http://.*\.laszlosystems\.com/.*</pattern>
                <pattern>http://.*\.oddtodd\.com/.*</pattern>
                <pattern>file:logo.*</pattern>
            </allow>
        </option> 
    </application>

    <!-- =========================================== -->
    <!-- LPS log4j configuration                     -->
    <!-- See http://jakarta.apache.org/log4j/docs/.  -->
    <!-- =========================================== -->
    <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j">

        <appender name="lps" class="org.apache.log4j.RollingFileAppender">

            <!-- ==================================================== -->
            <!-- By default, the LPS creates a log file in your       -->
            <!-- web application's WEB-INF/lps/work/log directory.    -->
            <!-- If you wish to place that file somewhere else, like  -->
            <!-- /var/adm/logs, then uncomment the line below.        -->
            <!-- ==================================================== -->
            <!--
            <param name="File" value="/var/adm/logs/lps.log" />
            -->

            <!--
            <param name="MaxFileSize" value="10MB" />
            -->
            <param name="MaxBackupIndex" value="10" />

            <layout class="org.apache.log4j.PatternLayout">
                <param name="ConversionPattern" 
                       value="%d{dd MMM yyyy HH:mm:ss} (%x) %-5p %-20c{2} - %m%n"/>
            </layout>        
        </appender>
        
        <logger name="org.openlaszlo" additivity="false">
            <priority value="warn" />
            <appender-ref ref="lps" />
        </logger>

        <logger name="org.apache.axis" additivity="false">
{'fraction_non_alphanumeric': 0.24980324256256886, 'fraction_numerical': 0.012907287895482449, 'mean_word_length': 1.6889547185780787, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 0, '>': 143, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3364443', 'n_tokens_mistral': 1838, 'n_tokens_neox': 1703, 'n_words': 339}