aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject aries-rsa git commit: [ARIES-1526] Make sure log output is redirected
Date Mon, 11 Apr 2016 15:04:03 GMT
Repository: aries-rsa
Updated Branches:
  refs/heads/master 2e019c166 -> 976012a50


[ARIES-1526] Make sure log output is redirected

Project: http://git-wip-us.apache.org/repos/asf/aries-rsa/repo
Commit: http://git-wip-us.apache.org/repos/asf/aries-rsa/commit/976012a5
Tree: http://git-wip-us.apache.org/repos/asf/aries-rsa/tree/976012a5
Diff: http://git-wip-us.apache.org/repos/asf/aries-rsa/diff/976012a5

Branch: refs/heads/master
Commit: 976012a50ab5abf2080f7f00ff9c7bbe0f6b1879
Parents: 2e019c1
Author: Guillaume Nodet <gnodet@apache.org>
Authored: Mon Apr 11 17:03:56 2016 +0200
Committer: Guillaume Nodet <gnodet@apache.org>
Committed: Mon Apr 11 17:03:56 2016 +0200

----------------------------------------------------------------------
 provider/fastbin/pom.xml                        |  6 ++++
 .../fastbin/src/test/resources/log4j.properties | 35 --------------------
 2 files changed, 6 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/976012a5/provider/fastbin/pom.xml
----------------------------------------------------------------------
diff --git a/provider/fastbin/pom.xml b/provider/fastbin/pom.xml
index a748035..f813c08 100644
--- a/provider/fastbin/pom.xml
+++ b/provider/fastbin/pom.xml
@@ -56,6 +56,12 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <redirectTestOutputToFile>true</redirectTestOutputToFile>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/976012a5/provider/fastbin/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/provider/fastbin/src/test/resources/log4j.properties b/provider/fastbin/src/test/resources/log4j.properties
deleted file mode 100644
index 0a36712..0000000
--- a/provider/fastbin/src/test/resources/log4j.properties
+++ /dev/null
@@ -1,35 +0,0 @@
-#  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.
-
-#
-# The logging properties used during tests..
-#
-log4j.rootLogger=WARN, console, file
-log4j.logger.org.apache.aries.rsa.provider.fastbin=TRACE
-
-# Console will only display warnnings
-log4j.appender.console=org.apache.log4j.ConsoleAppender
-log4j.appender.console.layout=org.apache.log4j.PatternLayout
-log4j.appender.console.layout.ConversionPattern=%-5p | %t | %m%n
-log4j.appender.console.threshold=TRACE
-
-# File appender will contain all info messages
-log4j.appender.file=org.apache.log4j.FileAppender
-log4j.appender.file.layout=org.apache.log4j.PatternLayout
-log4j.appender.file.layout.ConversionPattern=%d | %-5p | %m | %c | %t%n
-log4j.appender.file.file=target/test.log
-log4j.appender.file.append=true


Mime
View raw message