Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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.
- -->
- <configuration>
- <properties>
- <property name="logsDirectory">${sys:appserver.base}/logs</property>
- </properties>
- <appenders>
- <FastRollingFile name="rolling" fileName="${logsDirectory}/archiva.log"
- filePattern="${logsDirectory}/archiva-%d{yyyyMMdd}.log"
- immediateFlush="false" append="true">
- <PatternLayout>
- <pattern>%d [%t] %-5p %c %x - %m%n</pattern>
- </PatternLayout>
- <Policies>
- <TimeBasedTriggeringPolicy />
- </Policies>
- </FastRollingFile>
- <FastRollingFile name="auditlog" fileName="${logsDirectory}/archiva-audit.log"
- filePattern="${logsDirectory}/archiva-audit-%d{yyyyMMdd}.log"
- immediateFlush="false" append="true">
- <PatternLayout>
- <pattern>%d{yyyy-MM-dd HH:mm:ss} %m%n</pattern>
- </PatternLayout>
- <Policies>
- <TimeBasedTriggeringPolicy />
- </Policies>
- </FastRollingFile>
- <FastRollingFile name="redbackAuditLog" fileName="${logsDirectory}/archiva-security-audit.log"
- filePattern="${logsDirectory}/archiva-security-audit.log-%d{yyyyMMdd}.log"
- immediateFlush="false" append="true">
- <PatternLayout>
- <pattern>%d{yyyy-MM-dd HH:mm:ss} - %X{redback.currentUser} - %m%n</pattern>
- </PatternLayout>
- <Policies>
- <TimeBasedTriggeringPolicy />
- </Policies>
- </FastRollingFile>
- </appenders>
- <loggers>
- <asyncLogger name="org.apache.archiva.redback.struts2.action.AuditEvent" additivity="false" level="debug">
- <appender-ref ref="redbackAuditLog" />
- </asyncLogger>
- <asyncLogger name="org.apache.archiva.AuditLog" additivity="false" level="debug">
- <appender-ref ref="auditlog" />
- </asyncLogger>
- <!-- INFO level loggers can use the default
- <asyncLogger name="org.apache.archiva.consumers" level="debug"/>
- <asyncLogger name="org.apache.archiva" level="debug"/>
- <asyncLogger name="org.quartz" level="debug"/>
- <asyncLogger name="org.apache.jasper" level="debug"/>
- <asyncLogger name="com.opensymphony.xwork2" level="debug"/>
- <asyncLogger name="org.apache.struts2" level="debug"/>
- -->
- <!-- WebDav objects -->
- <asyncLogger name="org.apache.archiva.webdav.ArchivaDavResource" level="debug"/>
- <asyncLogger name="org.apache.archiva.webdav.ArchivaDavResourceFactory" level="debug"/>
- <!-- squelch noisy objects (for now) -->
- <asyncLogger name="org.apache.commons" level="debug"/>
- <asyncLogger name="net.sf.ehcache" level="debug"/>
- <!-- retained for Redback -->
- <asyncLogger name="JPOX" level="debug"/>
- <asyncLogger name="JPOX.MetaData" level="debug"/>
- <asyncLogger name="JPOX.RDBMS.SQL" level="debug"/>
- <asyncLogger name="SQL" level="debug"/>
- <asyncLogger name="org.apache.commons.configuration.DefaultConfigurationBuilder" level="debug"/>
- <!-- debug wagon transfer -->
- <!--
- <asyncLogger name="org.apache.archiva.proxy.common" level="debug"/>
- -->
- <!-- apache httpclient debug content transfer verbose -->
- <!--
- <asyncLogger name="org.apache.http.wire" level="debug"/>
- -->
- <!-- apache httpclient log headers -->
- <!--
- <asyncLogger name="org.apache.http.headers" level="debug"/>
- -->
- <asyncRoot level="debug" includeLocation="true">
- <appender-ref ref="rolling"/>
- </asyncRoot>
- </loggers>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment