I have created two java file one refers to log4j configration and other used to this java file whenever error occur in this file. Here problem is that whenever error occur in my second file it shows the error line number of my first one file i.e
CustomAppLogger.java, this is my configuration file and other i.e myApp.java file
which is used to call CustomAppLogger.java for use the log4j.
Here i want to if error comes from myApp.java file then it shows line number of this file and if error comes from another file then it will show error line number from that file.
I am sending also my both file with attachment of this message.
if any one do some thing like that tell me or give me support.