Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic

How to install log4j in JBuilderX?

Chen Yanush
Posts: 26
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 185
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 17278
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.


    Bookmark Topic Watch Topic
  • New Topic