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….
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.