File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes How to install log4j in JBuilderX? 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

How to install log4j in JBuilderX?

Chen Yanush

Joined: Oct 31, 2004
Posts: 26
I won't to install log4j in my JBuilderX but I don�t now how.
Can somebody please explain it to me how to install (step by step) and use it?

Tanks Chen.
danny liu
Ranch Hand

Joined: Jan 22, 2004
Posts: 185
1. download log4j.jar to your local machine and add it to the build path of your project.

2. create a file which includes some basic setup, such as root category, log file location, log format etc, and then add this property file to the build path.

3. rewrite your application using logging mechanism.

Logger logger = Logger.getLogger(object name here);

logger.debug(debug message here);

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Hi Chen,

I have noticed recently that your most recent posts have all been posted here in the Servlets forum, but have not been about Servlets.

We have many many forums, each with different topics that can better answer questions on those topics. While most people have experience in different areas, the concentration of expertise on a subject can be found in the matching topic forum.

Please try to post your question in the most appropriate forum.

I have already moved two other posts.

Instead of moving this post, I am going to close it, to allow you to look at our other forums and decide which forum best fits your question.



Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: How to install log4j in JBuilderX?
It's not a secret anymore!