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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:17:44+00:00 2026-05-27T23:17:44+00:00

Am using my java application with log4j as logging mechanism For most of the

  • 0

Am using my java application with log4j as logging mechanism

For most of the debug statements of the 3rd party jars am using, am getting filename with line numbers like
com.abc.xyz.GG(doFilter:67)

but for my source code, am getting the following
com.xyz.abc.class (unknown source problem)

Its tough for me to debug my source code since there is no line number info.

Can Someone please help me how do I enable this….

Thanks in advance….

  • 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-27T23:17:45+00:00Added an answer on May 27, 2026 at 11:17 pm

    Did you compile your code with the “-g:none” option of javac?
    If so, the compiler doesn’t generate any debugging information and Log4j cannot fetch them.

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

Sidebar

Related Questions

My java application uses log4j for logging. Using ant the project builds successfully, but
I am using the log4j API for logging in my Java based Tomcat application
My application has a homebrew logging class that I'm migrating to using log4j under
I'm using java 1.4.2 on Linux machine (RHEL 5.4). Our application uses log4j for
I'm using Java Logging API in a simple Servlet application that uses Maven and
I have a java application using log4j SyslogAppender (facility=USER) and I can see using
In my application iam using Log4j for logging.Presently I am placing log4j.xml in WEB-INF/classes.
I have the following logging problem with several Java applications using log4j for logging:
I am creating a Java application where I am using log4j. I have given
How to get money from users phone using Java application? So I want to

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.