<commit_before><?xml version="1.0" encoding="UTF-8" ?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you 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.
  -->
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

  <appender name="rolling" class="org.apache.log4j.DailyRollingFileAppender">
    <param name="file" value="${appserver.base}/logs/archiva.log" />
    <param name="append" value="true" />
    <param name="datePattern" value="'.'yyyy-MM-dd" />
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%d [%t] %-5p %c %x - %m%n"/>
    </layout>
  </appender>
  
  <appender name="auditlog" class="org.apache.log4j.DailyRollingFileAppender">
    <param name="file" value="${appserver.base}/logs/archiva-audit.log" />
    <param name="append" value="true" />
    <param name="datePattern" value="'.'yyyy-MM-dd" />
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} %m%n"/>
    </layout>
  </appender>

  <appender name="redbackAuditLog" class="org.apache.log4j.DailyRollingFileAppender">
    <param name="file" value="${appserver.base}/logs/archiva-security-audit.log" />
    <param name="append" value="true" />
    <param name="datePattern" value="'.'yyyy-MM-dd" />
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} - %X{redback.currentUser} - %m%n"/>
    </layout>
  </appender>

  <logger name="org.codehaus.plexus.redback.struts2.action.AuditEvent" additivity="false">
    <level value="info" />
    <appender-ref ref="redbackAuditLog" />
  </logger>

  <logger name="org.apache.archiva.AuditLog" additivity="false">
    <level value="info" />
    <appender-ref ref="auditlog" />
  </logger>
  
<!-- INFO level loggers can use the default
 <logger name="org.apache.archiva.consumers">
    <level value="info"/>
  </logger>
  
  <logger name="org.apache.archiva">
    <level value="info"/>
  </logger>
  
  <logger name="org.apache.maven.archiva">
    <level value="info"/>
  </logger>
  
  <logger name="org.codehaus.redback">
    <level value="info"/>
  </logger>

  <logger name="org.codehaus.plexus.redback">
    <level value="info"/>
  </logger>

  <logger name="org.codehaus.plexus.mailsender.MailSender">
    <level value="info"/>
  </logger>

  <logger name="org.quartz">
    <level value="info"/>
  </logger>

  <logger name="org.apache.jasper">
    <level value="info"/>
  </logger>

  <logger name="com.opensymphony.xwork2">
    <level value="info"/>
  </logger>

  <logger name="org.apache.struts2">
    <level value="info"/>
  </logger>

  <logger name="org.codehaus.plexus.PlexusContainer">
    <level value="info"/>
  </logger>
-->

  <!-- WebDav objects -->
  <logger name="org.apache.archiva.webdav.ArchivaDavResource">
    <level value="info"/>
  </logger>
  
  <logger name="org.apache.archiva.webdav.ArchivaDavResourceFactory">
    <level value="info"/>
  </logger>

  <!-- squelch noisy objects (for now) -->
  <logger name="org.apache.commons">
    <level value="warn"/>
  </logger>

  <logger name="net.sf.ehcache">
    <level value="warn"/>
  </logger>

  <logger name="org.codehaus.plexus.velocity">
    <level value="error"/>
  </logger>

  <!-- retained for Redback -->
  <logger name="JPOX">
    <level value="warn"/>
  </logger>

  <logger name="JPOX.MetaData">
    <level value="error"/>
  </logger>

  <logger name="JPOX.RDBMS.SQL">
    <level value="error"/>
  </logger>

  <logger name="SQL">
    <level value="error"/>
  </logger>

  <logger name="freemarker">
    <level value="warn"/>
  </logger>

  <logger name="org.codehaus.plexus.component.manager.ClassicSingletonComponentManager">
    <level value="error"/>
  </logger>

  <logger name="com.opensymphony.xwork2.ognl.OgnlValueStack">
    <level value="error"/>
  </logger>
<commit_msg>add commented logger for wagon debug in main log4j.xml<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you 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.
  -->
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

  <appender name="rolling" class="org.apache.log4j.DailyRollingFileAppender">
    <param name="file" value="${appserver.base}/logs/archiva.log" />
    <param name="append" value="true" />
    <param name="datePattern" value="'.'yyyy-MM-dd" />
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%d [%t] %-5p %c %x - %m%n"/>
    </layout>
  </appender>
  
  <appender name="auditlog" class="org.apache.log4j.DailyRollingFileAppender">
    <param name="file" value="${appserver.base}/logs/archiva-audit.log" />
    <param name="append" value="true" />
    <param name="datePattern" value="'.'yyyy-MM-dd" />
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} %m%n"/>
    </layout>
  </appender>

  <appender name="redbackAuditLog" class="org.apache.log4j.DailyRollingFileAppender">
    <param name="file" value="${appserver.base}/logs/archiva-security-audit.log" />
    <param name="append" value="true" />
    <param name="datePattern" value="'.'yyyy-MM-dd" />
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} - %X{redback.currentUser} - %m%n"/>
    </layout>
  </appender>

  <logger name="org.codehaus.plexus.redback.struts2.action.AuditEvent" additivity="false">
    <level value="info" />
    <appender-ref ref="redbackAuditLog" />
  </logger>

  <logger name="org.apache.archiva.AuditLog" additivity="false">
    <level value="info" />
    <appender-ref ref="auditlog" />
  </logger>
  
<!-- INFO level loggers can use the default
 <logger name="org.apache.archiva.consumers">
    <level value="info"/>
  </logger>
  
  <logger name="org.apache.archiva">
    <level value="info"/>
  </logger>
  
  <logger name="org.apache.maven.archiva">
    <level value="info"/>
  </logger>
  
  <logger name="org.codehaus.redback">
    <level value="info"/>
  </logger>

  <logger name="org.codehaus.plexus.redback">
    <level value="info"/>
  </logger>

  <logger name="org.codehaus.plexus.mailsender.MailSender">
    <level value="info"/>
  </logger>

  <logger name="org.quartz">
    <level value="info"/>
  </logger>

  <logger name="org.apache.jasper">
    <level value="info"/>
  </logger>

  <logger name="com.opensymphony.xwork2">
    <level value="info"/>
  </logger>

  <logger name="org.apache.struts2">
    <level value="info"/>
  </logger>

  <logger name="org.codehaus.plexus.PlexusContainer">
    <level value="info"/>
  </logger>
-->

  <!-- WebDav objects -->
  <logger name="org.apache.archiva.webdav.ArchivaDavResource">
    <level value="info"/>
  </logger>
  
  <logger name="org.apache.archiva.webdav.ArchivaDavResourceFactory">
    <level value="info"/>
  </logger>

  <!-- squelch noisy objects (for now) -->
  <logger name="org.apache.commons">
    <level value="warn"/>
  </logger>

  <logger name="net.sf.ehcache">
    <level value="warn"/>
  </logger>

  <logger name="org.codehaus.plexus.velocity">
    <level value="error"/>
  </logger>

  <!-- retained for Redback -->
  <logger name="JPOX">
    <level value="warn"/>
  </logger>

  <logger name="JPOX.MetaData">
    <level value="error"/>
  </logger>

  <logger name="JPOX.RDBMS.SQL">
    <level value="error"/>
  </logger>

  <logger name="SQL">
    <level value="error"/>
  </logger>

  <logger name="freemarker">
    <level value="warn"/>
  </logger>

  <logger name="org.codehaus.plexus.component.manager.ClassicSingletonComponentManager">
    <level value="error"/>
  </logger>

  <logger name="com.opensymphony.xwork2.ognl.OgnlValueStack">
    <level value="error"/>
  </logger>

  <!-- debug wagon transfer -->
  <!--
  <logger name="org.apache.archiva.proxy.common">
    <level value="debug"/>
  </logger>
  -->
  <!-- apache httpclient debug content transfer verbose -->
  <!--
  <logger name="org.apache.http.wire">
    <level value="debug"/>
  </logger>
  -->
  <!-- apache httpclient log headers -->
  <!--
  <logger name="org.apache.http.headers">
    <level value="debug"/>
  </logger>
  -->

{'fraction_non_alphanumeric': 0.17470864853813126, 'fraction_numerical': 0.004804743406256389, 'mean_word_length': 3.625531914893617, 'pattern_counts': {'":': 0, '<': 236, '<?xml version=': 2, '>': 236, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 5}, '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': '6016151', 'n_tokens_mistral': 3326, 'n_tokens_neox': 3215, 'n_words': 708}