Spring MVC with Log4j

Directory hierarchy

project structure

App Controller

AppController.java

Spring Configuration File

SpringMVCConfig.xml

log4j.properties

log4j.properties

Standard log levels

Standard Level intLevel
OFF 0
FATAL 100
ERROR 200
WARN 300
INFO 400
DEBUG 500
TRACE 600
ALL Integer.MAX_VALUE

 

Admin.jsp

index.jsp

user.jsp

web.xml

 

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments