ASF Bugzilla – Attachment 33110 Details for
Bug 58412
AsyncFileHandler logs package and method name as null.null
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Resolve method and class name before handing the record into the queue
0001-fill-source-entries-before-switching-threads.patch (text/plain), 1015 bytes, created by
Felix Schumacher
on 2015-09-15 18:43:26 UTC
(
hide
)
Description:
Resolve method and class name before handing the record into the queue
Filename:
MIME Type:
Creator:
Felix Schumacher
Created:
2015-09-15 18:43:26 UTC
Size:
1015 bytes
patch
obsolete
>From 09f1327c8a7573f5e1f61026d0a203f99fe324ca Mon Sep 17 00:00:00 2001 >From: Felix Schumacher <felix.schumacher@internetallee.de> >Date: Tue, 25 Aug 2015 22:07:00 +0200 >Subject: [PATCH] fill source entries before switching threads > >--- > java/org/apache/juli/AsyncFileHandler.java | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/java/org/apache/juli/AsyncFileHandler.java b/java/org/apache/juli/AsyncFileHandler.java >index 0eb8e4f..0657358 100644 >--- a/java/org/apache/juli/AsyncFileHandler.java >+++ b/java/org/apache/juli/AsyncFileHandler.java >@@ -92,6 +92,11 @@ public class AsyncFileHandler extends FileHandler { > if (!isLoggable(record)) { > return; > } >+ if (record != null) { >+ // fill source entries, before we hand the record over to another >+ // thread with another class loader >+ record.getSourceMethodName(); >+ } > LogEntry entry = new LogEntry(record,this); > boolean added = false; > try { >-- >1.9.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 58412
: 33110