You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ss...@apache.org on 2013/02/27 14:23:05 UTC

[1/2] git commit: added optional logging configuration for logback to the ldclient tests

added optional logging configuration for logback to the ldclient tests


Project: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/commit/be2fd1fb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/tree/be2fd1fb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/diff/be2fd1fb

Branch: refs/heads/master
Commit: be2fd1fbae067a4c878f316e2a59c3a2684cb7d2
Parents: 0019e91
Author: Sebastian Schaffert <ss...@apache.org>
Authored: Wed Feb 27 14:22:44 2013 +0100
Committer: Sebastian Schaffert <ss...@apache.org>
Committed: Wed Feb 27 14:22:44 2013 +0100

----------------------------------------------------------------------
 .../ldclient-core/src/test/resources/logback.xml   |   10 ++++++++++
 .../ldclient/ldclient-provider-mediawiki/pom.xml   |    5 +++++
 2 files changed, 15 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/be2fd1fb/libraries/ldclient/ldclient-core/src/test/resources/logback.xml
----------------------------------------------------------------------
diff --git a/libraries/ldclient/ldclient-core/src/test/resources/logback.xml b/libraries/ldclient/ldclient-core/src/test/resources/logback.xml
new file mode 100644
index 0000000..2208ca6
--- /dev/null
+++ b/libraries/ldclient/ldclient-core/src/test/resources/logback.xml
@@ -0,0 +1,10 @@
+<configuration>
+    <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
+        <layout class="ch.qos.logback.classic.PatternLayout">
+            <Pattern>%d [%thread] %level %logger - %m%n</Pattern>
+        </layout>
+    </appender>
+    <root level="${root-level:-INFO}">
+        <appender-ref ref="CONSOLE"/>
+    </root>
+</configuration>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/be2fd1fb/libraries/ldclient/ldclient-provider-mediawiki/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/ldclient/ldclient-provider-mediawiki/pom.xml b/libraries/ldclient/ldclient-provider-mediawiki/pom.xml
index 4e90447..a5a1e36 100644
--- a/libraries/ldclient/ldclient-provider-mediawiki/pom.xml
+++ b/libraries/ldclient/ldclient-provider-mediawiki/pom.xml
@@ -63,6 +63,11 @@
             <scope>test</scope>
         </dependency>
         <dependency>
+            <groupId>ch.qos.logback</groupId>
+            <artifactId>logback-classic</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
             <groupId>org.apache.marmotta</groupId>
             <artifactId>ldclient-core</artifactId>
             <version>${project.version}</version>