logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51347] Filename and line number not display , Java version difference
Date Wed, 15 Jun 2011 05:03:27 GMT

--- Comment #1 from Curt Arnold <carnold@apache.org> 2011-06-15 05:03:27 UTC ---
File name and line number depend on debug information being present in the jar
file.  If you are recompiling the classes or rebuilding the jar file on the
other platform, then the problem is most likely that you are not compiling with
debug information included in the jar.  

If you are not recompiling, please let us know any additional information that
might assist.

Determining the file and line number requires generating an exception and then
interrogating it.  When it works (which depends on the code being compiled with
debugging info), it can be very expensive performance wise.  It is more
efficient to depend on logger names and unique messages to identify the origin
of the logging request.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message