Skip to content

Commit

Permalink
WW-4780 fixed logging in the struts2-cdi-plugin tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdutry committed Apr 21, 2017
1 parent 11cccb6 commit defaf43
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
5 changes: 3 additions & 2 deletions plugins/cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@
</dependency>

<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j2.version}</version>
<scope>test</scope>
</dependency>

Expand Down
11 changes: 0 additions & 11 deletions plugins/cdi/src/test/resources/log4j.properties

This file was deleted.

14 changes: 14 additions & 0 deletions plugins/cdi/src/test/resources/log4j2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout pattern="%d %5p (%c:%L) - %m%n"/>
</Console>
</Appenders>
<Loggers>
<Logger name="noModule" level="fatal"/>
<Root level="info">
<AppenderRef ref="STDOUT"/>
</Root>
</Loggers>
</Configuration>

0 comments on commit defaf43

Please sign in to comment.