You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by du...@apache.org on 2021/05/12 12:39:32 UTC

[rocketmq] branch develop updated: [ISSUE #2872] move log files created by integration test to target dir

This is an automated email from the ASF dual-hosted git repository.

duhengforever pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new 5a06651  [ISSUE #2872] move log files created by integration test to target dir
     new fe78d18  Merge pull request #2877 from ayanamist/clean-test-files
5a06651 is described below

commit 5a06651ca414f795b00cf8e2ca553fd40d0dc624
Author: ayanamist <ay...@gmail.com>
AuthorDate: Wed May 12 20:35:18 2021 +0800

    [ISSUE #2872] move log files created by integration test to target dir
---
 test/pom.xml                      | 14 --------------
 test/src/test/resources/log4j.xml |  2 +-
 2 files changed, 1 insertion(+), 15 deletions(-)

diff --git a/test/pom.xml b/test/pom.xml
index c0c7aa9..851d9ab 100644
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -60,20 +60,6 @@
                     </execution>
                 </executions>
             </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-clean-plugin</artifactId>
-                <version>3.1.0</version>
-                <configuration>
-                    <filesets>
-                        <fileset>
-                            <includes>
-                                <include>**/it_test.log</include>
-                            </includes>
-                        </fileset>
-                    </filesets>
-                </configuration>
-            </plugin>
         </plugins>
     </build>
 </project>
diff --git a/test/src/test/resources/log4j.xml b/test/src/test/resources/log4j.xml
index 3031095..7840ab7 100644
--- a/test/src/test/resources/log4j.xml
+++ b/test/src/test/resources/log4j.xml
@@ -30,7 +30,7 @@
     </appender>
 
     <appender name="TOTAL" class="org.apache.log4j.RollingFileAppender">
-        <param name="File" value="it_test.log"/>
+        <param name="File" value="target/it_test.log"/>
         <param name="append" value="false"/>
         <param name="MaxFileSize" value="10240000"/>
         <param name="MaxBackupIndex" value="10"/>