File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Log4J integration in Servlet/JSP application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

Log4J integration in Servlet/JSP application

Abhay Agarwal
Ranch Hand

Joined: Feb 29, 2008
Posts: 1341


I am developing a sample Servlet/JSP application (non annotation based) on Tomcat.

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 Servlet/JSP application .

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


Oracle certified Java 8 Programmer I (1Z0-808), Oracle Java Web Service Developer (1z0-897), Oracle certified Java 7 Programmer, SCJA 1.0, SCJP 5.0, SCWCD 5.0, Oracle SQL Fundamentals I, CIW Certified Ecommerce specialist
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Closing this thread. Replacing "Spring" by "servlets" to make a new thread is not smart. Continue the discussion there.

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: Log4J integration in Servlet/JSP application
jQuery in Action, 3rd edition