logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40944] - PropertyConfigurator.configure( URL ) does not close the resource stream
Date Fri, 10 Nov 2006 14:05:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40944>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40944





------- Additional Comments From yarick123@123mail.org  2006-11-10 06:05 -------
Created an attachment (id=19108)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19108&action=view)
test case with a patch inside

the test case contains 2 tests
- the first, test_Log4jCloseConfigStream, does not pass, it shows the described
bug,
- the second, test_PatchedLog4jCloseConfigStream, shows that the offered fix
works

Additionally PatchedPropertyConfigurator contains minor fixes for
PropertyConfigurator.doConfigure(String configFileName, LoggerRepository
hierarchy), which closes the input stream not very correct

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message