Skip to content

adben/spring-mvc-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

spring-mvc-logger

  1. Add to pom.xml
   <dependency>
        <groupId>org.isrsal</groupId>
        <artifactId>spring-mvc-logger</artifactId>
        <version>0.2</version>
    </dependency>
  1. 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>
  1. Add to log4j.xml
   <logger name="org.isrsal.logging.LoggingFilter">
      <level value="DEBUG"/>
   </logger>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%