[ http://issues.ops4j.org/browse/PAXLOGGING-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11711#action_11711 ]
Florian commented on PAXLOGGING-32: ----------------------------------- Sorry for the delay of my answer but just I returned to work today. I've looked through all my projects but I haven't found the mentioned bundle. I'm surprised, that I did not attach it to this issue. Apart from that, I'm not able to test your solution too, because we redesigned our application and I do not have the appropriate environment. Sorry for this. So the only possibility is to write a very small new OSGI-Bundle and have a test. Perhaps someone has an OSGI-Framework with correct configuration at hand and can do this. > Wrong methodname and linenumber in combination with java.util.logging > --------------------------------------------------------------------- > > Key: PAXLOGGING-32 > URL: http://issues.ops4j.org/browse/PAXLOGGING-32 > Project: Pax Logging > Issue Type: Bug > Affects Versions: 1.1.1 > Reporter: Florian > Assignee: Niclas Hedhman > > Using a conversion-pattern for log4j like this > log4j.appender.stdout.layout.ConversionPattern=%d{HH:mm:ss} %-5p [%-35c{1} - > %-25M:%-4L] - %m%n > and the standard logging framework for java "java.util.logging" the parameter > "M" for methodname and "L" for linenumber are not correctly resolved. It > seems that the classes are resolved one step too high in the stacktrace. > This effect is the same whe using the (upper-case) "C" parameter for > resolving full qualified class names. Lower-case "c" parameter is resolved > correctly. > I've attached a test bundle which demonstrates this behaviour and also > outputs the expected results. However, for my experience, every bundle using > java.util.logging struggles upon this problem. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general