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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:03:24+00:00 2026-05-27T08:03:24+00:00

I added a bunch of logging to a specific class that’s been giving me

  • 0

I added a bunch of logging to a specific class that’s been giving me troubles, ramped up the log4j.properties file and expected to see a ton of debugging information.

While I do see more info the messages from one, specific class– the one I was most interested in– seems to be completely missing.

Oddly enough, I copied log4j.properties file from the test server– where it was, indeed, outputting the right info– over to the production server– they’re identical.

Here’s the contents of the log4j.properties:

log4j.debug=false

log4j.rootLogger=INFO, S

log4j.category.com.communitect=DEBUG, F1, S
log4j.additivity.com.communitect=false

log4j.appender.F1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.F1.DatePattern='.'yyyy-MM-dd
log4j.appender.F1.File=${catalina.base}/logs/smilereminder_log
log4j.appender.F1.layout=org.apache.log4j.PatternLayout
log4j.appender.F1.layout.ConversionPattern=%d %5p [%t] (%c{2}) - %m%n

log4j.appender.S=org.apache.log4j.ConsoleAppender
log4j.appender.S.layout=org.apache.log4j.PatternLayout
log4j.appender.S.layout.ConversionPattern=%d %5p [%t] (%F:%L) - %m%n

That file is in the lib directory of my Tomcat install.

The package I see nothing from is this:

package com.communitect.business;

The way I declare the logger is this:

static private final Logger logger = Logger.getLogger( PersonalReminderRules.class );

All of the messages from this class show up on my test server so I know the log4j.properties file should work great.

I looked around for an additional log4j.properties file but there doesn’t seem to be one. There isn’t an .xml configuration file, either.

Something’s eluding me. Any ideas?

  • 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-05-27T08:03:24+00:00Added an answer on May 27, 2026 at 8:03 am

    @oers, good idea, thank you! 🙂

    Here was the solution we found:

    So it appears that the appVoice WebApp context had a log4j.jar in it. Removing it seems to have fixed the problem.

    I’m assuming that classloading the webapps “overrode” the classes loaded originally and consequently with a brand new configuration.

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

Sidebar

Related Questions

I've added functionality to an application that prints out a bunch of information to
Within a Visual Basic Project I have added a resource file (resx) that contains
I have an HTML table that I've added a bunch of interactive behaviors to
I accidentally ran svn add * and added a bunch of files that shouldn't
I have TextBlock that has Inlines dynamicly added to it (basically bunch of Run
I've added a .txt file with a bunch of text to my project, now
I have a bunch of divs on my page that are added at run
I am a bit confused, I have a bunch of elements that get added
I added a bunch of foreign keys to the database project when previously there
I hate having a bunch of left/right methods. Every time a property is added

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.