Author: rwesten
Date: Mon Feb 25 10:31:52 2013
New Revision: 1449651
URL: http://svn.apache.org/r1449651
Log:
STANBOL-960: deactivates Solr INFO level loggings for unit tests of the
entityhub.indexing.destination.solryard module
Added:
stanbol/trunk/entityhub/indexing/destination/solryard/src/test/resources/log4j.properties
(with props)
Modified:
stanbol/trunk/entityhub/indexing/destination/solryard/pom.xml
Modified: stanbol/trunk/entityhub/indexing/destination/solryard/pom.xml
URL:
http://svn.apache.org/viewvc/stanbol/trunk/entityhub/indexing/destination/solryard/pom.xml?rev=1449651&r1=1449650&r2=1449651&view=diff
==============================================================================
--- stanbol/trunk/entityhub/indexing/destination/solryard/pom.xml (original)
+++ stanbol/trunk/entityhub/indexing/destination/solryard/pom.xml Mon Feb 25
10:31:52 2013
@@ -124,9 +124,14 @@
<artifactId>slf4j-api</artifactId>
</dependency>
<!-- dependencies for testing -->
- <dependency>
+ <dependency> <!-- used for debug level logging during tests -->
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Added:
stanbol/trunk/entityhub/indexing/destination/solryard/src/test/resources/log4j.properties
URL:
http://svn.apache.org/viewvc/stanbol/trunk/entityhub/indexing/destination/solryard/src/test/resources/log4j.properties?rev=1449651&view=auto
==============================================================================
---
stanbol/trunk/entityhub/indexing/destination/solryard/src/test/resources/log4j.properties
(added)
+++
stanbol/trunk/entityhub/indexing/destination/solryard/src/test/resources/log4j.properties
Mon Feb 25 10:31:52 2013
@@ -0,0 +1,26 @@
+# 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.
+
+# Root logger option
+log4j.rootLogger=INFO, stdout
+
+# Direct log messages to stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.Target=System.out
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
+log4j.logger.org.apache.stanbol.entityhub.indexing.destination.solryard=DEBUG
+log4j.logger.org.apache.solr=WARN
+log4j.logger.org.apache.lucene=WARN
\ No newline at end of file
Propchange:
stanbol/trunk/entityhub/indexing/destination/solryard/src/test/resources/log4j.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain