Caller location info is not being extracted correctly for calls using the new trace level methods provided by Logger. Using %C, %M etc in a PatternLayout results in '?' being printed instead of the proper values. The cause is the incorrect classname assigned to the FQCN property in Logger.java The problem does not exist in the 1.3 codebase. Tested using log4j 1.2.12 on Windows XP with jdk1.5
Created attachment 16518 [details] Patch to fix the problem
1.2.13 candiadate
Applied patch and expanded test cases to better test TRACE usage. Revision 321020 on v1_2-branch.
Fix is in the 1.2.13rc1 build which can be located at http://cvs.apache.org/builds/logging/log4j/log4j-1.2.13rc1/. Please check the build and let us know if it is now fixed for you. Thanks.
I tested the 1.2.13rc1 build and the LocationInfo now looks good for all levels, thanks.
Reporter has verified fix (thanks!). Closing.