https://issues.apache.org/bugzilla/show_bug.cgi?id=48831
Summary: Properly closing JULI FileHandler
Product: Tomcat 7
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=25070)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25070)
2010-03-01_tc7_logging_testing.patch
This is a result of testing that I performed for our current trunk to evaluate
r910974 that is currently proposed for TC6.
I will first describe my environment. Results and findings will follow below.
Steps to reproduce:
1. With current trunk as of revision 917296 apply the patch that I am attaching
to this issue, and build it. The patch:
- adds logging to FileHandler#close().
The logging statement checks that this.writer != null, to do not try logging on
a closed handler (thus reopening it).
- sets bufferSize for catalina and localhost handlers
- marks ClassLoaderLogManager#useShutdownHook as volatile
2. Clear the logs folder.
3. Run "catalina.bat start", wait a while and run "catalina.bat stop".
Logs that I'll attach are the result of the above steps.
OS: WindowsXP/SP3, JRE: Sun JRE 6u18
--
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: [email protected]
For additional commands, e-mail: [email protected]