Commits

Samuel Le Berrigaud committed b9843df

Configuring the logging correctly.

  • Participants
  • Parent commits d7243ea

Comments (0)

Files changed (3)

ao-tutorial-stage4/pom.xml

                         </pluginArtifact>
                     </pluginArtifacts>
                     <productVersion>${refapp.version}</productVersion>
+                    <log4jProperties>src/test/resources/log4j.properties</log4jProperties>
                 </configuration>
             </plugin>
         </plugins>

ao-tutorial-stage5/pom.xml

         </dependency>
         <dependency>
             <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-simple</artifactId>
+            <artifactId>slf4j-log4j12</artifactId>
             <version>1.6.2</version>
             <scope>test</scope>
         </dependency>
         <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <version>1.2.16</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-all</artifactId>
             <version>1.8.5</version>

ao-tutorial-stage6/pom.xml

         </dependency>
         <dependency>
             <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-simple</artifactId>
+            <artifactId>slf4j-log4j12</artifactId>
             <version>1.6.2</version>
             <scope>test</scope>
         </dependency>
         <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <version>1.2.16</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-all</artifactId>
             <version>1.8.5</version>