Bug 58412

Summary: AsyncFileHandler logs package and method name as null.null
Product: Tomcat 8 Reporter: Felix Schumacher <felix.schumacher>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 8.0.x-trunk   
Target Milestone: ----   
Hardware: All   
OS: All   
Attachments: Resolve method and class name before handing the record into the queue

Description Felix Schumacher 2015-09-15 18:43:26 UTC
Created attachment 33110 [details]
Resolve method and class name before handing the record into the queue

When using AsyncFileHandler it sometimes happens, that package and method names are resolved to null, whenn logging.

It is described on stackoverflow http://stackoverflow.com/questions/27117369/generic-java-logger-output-null-null-for-class-and-member-name

The attached patch fixes it in my tests.
Comment 1 Mark Thomas 2015-09-18 13:34:59 UTC
Fixed in trunk and 8.0.x for 8.0.27 onwards.