...
To include log4j logging in your web application add the following dependency to your maven project file:
Code Block | ||||
---|---|---|---|---|
| ||||
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.13</version>
<type>jar</type>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
<type>jar</type>
<url>http://jakarta.apache.org/commons/logging</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
|