summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-scheduled
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2009-03-14 02:33:57 +0000
committerBrett Porter <brett@apache.org>2009-03-14 02:33:57 +0000
commit537ff689e7e39ce7ca4d9f0b94abcece5ee7c569 (patch)
treed905efd2f35bab56d08c436288943c77820b63e2 /archiva-modules/archiva-scheduled
parentb24700028788de56ab0367f1c2379f0b695e4c0f (diff)
downloadarchiva-537ff689e7e39ce7ca4d9f0b94abcece5ee7c569.tar.gz
archiva-537ff689e7e39ce7ca4d9f0b94abcece5ee7c569.zip
[MRM-1140] centralise logging through slf4j
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753590 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-scheduled')
-rw-r--r--archiva-modules/archiva-scheduled/pom.xml5
-rw-r--r--archiva-modules/archiva-scheduled/src/test/resources/log4j.xml47
2 files changed, 5 insertions, 47 deletions
diff --git a/archiva-modules/archiva-scheduled/pom.xml b/archiva-modules/archiva-scheduled/pom.xml
index ddaa5a251..fb729fbeb 100644
--- a/archiva-modules/archiva-scheduled/pom.xml
+++ b/archiva-modules/archiva-scheduled/pom.xml
@@ -81,6 +81,11 @@
<artifactId>plexus-registry-commons</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
diff --git a/archiva-modules/archiva-scheduled/src/test/resources/log4j.xml b/archiva-modules/archiva-scheduled/src/test/resources/log4j.xml
deleted file mode 100644
index 3c782b138..000000000
--- a/archiva-modules/archiva-scheduled/src/test/resources/log4j.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-
-<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
-
- <appender name="console" class="org.apache.log4j.ConsoleAppender">
- <param name="Target" value="System.out"/>
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%5p|%t|%5r|%-30c{1} - %m%n"/>
- </layout>
- </appender>
-
- <!-- Help identify bugs during testing -->
- <logger name="org.apache.maven.archiva">
- <level value="debug"/>
- </logger>
-
- <logger name="org.codehaus.plexus.security">
- <level value="info"/>
- </logger>
-
- <logger name="org.codehaus.plexus.PlexusContainer">
- <level value="info"/>
- </logger>
-
- <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>
-
- <root>
- <priority value ="debug" />
- <appender-ref ref="console" />
- </root>
-
-</log4j:configuration>