• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Log4J integration in Spring MVC 2.5 application

 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am developing a sample Spring MVC 2.5 application (non annotation based).

I need to integrate Log4J framework in my application.

I did some search on google but did not find any step by step guide to integrate Log4J in a Spring MVC 2.5 application.

Please provide the steps that i can perform to integrate Log4J.

Thanks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like with any application, it's just a matter of putting the log4j JAR in your classpath and making a log4j configuration file. Check log4j's manual to learn how to use it.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agreed--are you having any specific issues? There's nothing special about using it in a Spring app.
 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nope ... solution mentioned worked for me

~ abhay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic