Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
isrsal committed Jan 2, 2013
2 parents 4df556c + 9677b8e commit 9e9139e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
spring-mvc-logger
=================
1. Add to pom.xml

```
<dependency>
<groupId>org.isrsal</groupId>
<artifactId>spring-mvc-logger</artifactId>
<version>1.0</version>
</dependency>
```

2. Add to web.xml

```
<filter>
<filter-name>loggingFilter</filter-name>
<filter-class>org.isrsal.logging.LoggingFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>loggingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
```

3. Add to log4j.xml

```
<logger name="org.isrsal.logging.LoggingFilter">
<level value="DEBUG"/>
</logger>
```

0 comments on commit 9e9139e

Please sign in to comment.