Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9259295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:37:19+00:00 2026-06-18T12:37:19+00:00

all, now i have trouble with shooting – why logs didn’t got printed out

  • 0

all, now i have trouble with shooting – why logs didn’t got printed out correctly problem.

There are 4 projects inside tomcat/webapps.

3 of them are using log4j library in the tomcat level lib directory and the other one is having its own log4j library inside its own project.

Each of them are reading their own log4j properties within their project.

I am the owner of the project which has its own log4j within the project classes folder.

and today a senior programmer accuse me because I dont use the tomcat level log4j library and the system get confused with which library should it be used, so the other three projects missing printing out the log.

Would this be true?

If yes, why? Cause my log4j read my own properties and it prints my project information correctly.

Thanks in advance to those who answer this question.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:37:20+00:00Added an answer on June 18, 2026 at 12:37 pm

    A default tomcat 7 installation does not provide a log4j library. Thus if your project needs this library it is a good idea (IMHO) to include this in your own webapp. If you depend on a specific tomcat server setup it will be hard to use the webapp in another container without changes.

    By the way a statement form the tomcat documentation site regarding “using Log4j”:

    Note: The steps described in this section are needed when you want to
    reconfigure Tomcat to use Apache log4j for its own logging. These
    steps are not needed if you just want to use log4j in your own web
    application. — In that case, just put log4j.jar and log4j.properties
    into WEB-INF/lib and WEB-INF/classes of your web application.

    I short words – I think you are doing it right and the others are doing it wrong (without knowing the details).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been struggling with Zend_Navigation all weekend, and now I have another problem, which
Been trouble-shooting this for a few days now and have basically run dry of
I have trouble to figure out a php problem described below. I have one
Dear all,Now i have this question in my java program,I think it should be
Right now we have AD/Exchange to manage all of our users logins/e-mail on-site at
I have one mainViewController and I have a UIPickerView. Now all is set up
I have a form with multiple textboxes which are created dynamically, now all these
I want to fill all cells with the same control. What I have now
Well I have been writing in the same style for awhile now and all
EDIT: I have fixed all but two warnings now, so thank you all for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.