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 8384431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:24:18+00:00 2026-06-09T17:24:18+00:00

I am using logj4 in a spring mvc application. I am working on in

  • 0

I am using logj4 in a spring mvc application.
I am working on in my logs on a tomcat 6 server and I am getting the following messages:

log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.

in the stdout files on the tom cat server. I want to be able to see messages while i access methods and objects. This is how i am using log4j:

class ...

private final Logger logger = Logger.getLogger(getClass()); 

logger.info("My message here");

For some reason i am not seeing any messages in my logs and i am seeing the above warnings

  • 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-09T17:24:19+00:00Added an answer on June 9, 2026 at 5:24 pm

    Sounds like you have not set up logging for your application properly yet.

    Try looking at the first few results of a Google search for you error Particularly questions about setting up web.xml.

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

Sidebar

Related Questions

I'm developing using IntelliJ 11u on a spring mvc application using tomcat. I tried
I'm trying to write a web application using Spring MVC. I have a configuration
I am integrating the displaytag library into my Spring MVC Application. I am using
Using log4j, I used to have an appender that logs directly to one of
I'm using log4j in an app I'm developing to eventually run inside Tomcat/JBoss, but
I have sixteen servers using Log4J logs, accessible by ssh. I want to see
So we have our J2EE application using Log4j like this public class CustomerController {
I'm working on a project and we want to handle our logging using log4j.
My application has a homebrew logging class that I'm migrating to using log4j under
I've been developing a simple Spring MVC application as a reporting service. Locally, I've

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.