1
0
Commit Graph

923 Commits

Author SHA1 Message Date
Simon Kitching
3200e8aa2e Add test case for situation where context classloader is null.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@169388 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 00:47:03 +00:00
Simon Kitching
7839295a8e Fix for case where classloader key to "factories" member is null.
This can happen in JDK1.1 and in embedded systems work. Without this
fix, a new LogFactoryImpl is created each time LogFactory.getLog(..)
is called! See bugzilla#10825, comment#22. Thanks to Erik Erskine for
bug report and fix.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@169387 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 00:45:18 +00:00
Robert Burrell Donkin
b6b750fc9c Added note about new, improved terminology coined by Mike Colbert.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@168173 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 19:29:01 +00:00
Robert Burrell Donkin
9ad236575b Corrected mistake in analysis. Thanks to Brian Stansberry.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@164642 13f79535-47bb-0310-9956-ffa450edef68
2005-04-25 20:37:28 +00:00
Brett Leslie Porter
eedeb3cdb4 fix invalid project.xml descriptor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@162107 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 02:03:27 +00:00
Robert Burrell Donkin
d452378887 Changed site URL to minotaur
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@161686 13f79535-47bb-0310-9956-ffa450edef68
2005-04-17 19:49:26 +00:00
Robert Burrell Donkin
b744f1e38e Improvements to the tech guide. Contributed by Brian Stansberry. Issue#34412.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@161682 13f79535-47bb-0310-9956-ffa450edef68
2005-04-17 19:31:59 +00:00
Robert Burrell Donkin
6133566a84 Added link to ceki's document
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@159142 13f79535-47bb-0310-9956-ffa450edef68
2005-03-27 08:53:34 +00:00
Robert Burrell Donkin
2aa2ad57f6 Demonstration/Proof of concept code. Contained is an analysis of common parent first and child first JCL use cases using convention context classloaders together with code that demonstrates the concepts involved.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@159106 13f79535-47bb-0310-9956-ffa450edef68
2005-03-26 15:16:28 +00:00
Robert Burrell Donkin
80ed7615b6 Added tech guide. This provides introductions to subjects such as classloading for expert users and developers.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@157339 13f79535-47bb-0310-9956-ffa450edef68
2005-03-13 16:21:42 +00:00
Robert Burrell Donkin
0721445959 Fixed innaccurate catch. Should catch all throwables to ensure graceful failure.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@156998 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 21:55:38 +00:00
Robert Burrell Donkin
23df003ef1 Improved javadocs for WeakHashTable. More readable explaination contributed by Simon Kitching.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@156689 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 21:13:21 +00:00
Robert Burrell Donkin
01f84f3a7c Added link to download location
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@156336 13f79535-47bb-0310-9956-ffa450edef68
2005-03-06 19:40:23 +00:00
Robert Burrell Donkin
6970b4e249 Updated status of 1.0.5 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@156335 13f79535-47bb-0310-9956-ffa450edef68
2005-03-06 19:28:37 +00:00
Dirk Verbeeck
267f507d8c convert .cvsignore to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@155504 13f79535-47bb-0310-9956-ffa450edef68
2005-02-26 13:45:11 +00:00
Dirk Verbeeck
b56a58e5de svn:keywords correction
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@155426 13f79535-47bb-0310-9956-ffa450edef68
2005-02-26 13:10:49 +00:00
Robert Burrell Donkin
d746ff0810 Added Log4JCategory into optional distribution
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@153528 13f79535-47bb-0310-9956-ffa450edef68
2005-02-12 19:21:29 +00:00
Robert Burrell Donkin
dc14a8cfcc Added overview for optional
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@153513 13f79535-47bb-0310-9956-ffa450edef68
2005-02-12 15:56:51 +00:00
Robert Burrell Donkin
769564ac45 Reverted some changes which broke backwards compatibility
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@153511 13f79535-47bb-0310-9956-ffa450edef68
2005-02-12 14:56:21 +00:00
Robert Burrell Donkin
15ee1ee573 Added details of released versions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@153508 13f79535-47bb-0310-9956-ffa450edef68
2005-02-12 14:27:27 +00:00
Robert Burrell Donkin
6e2408d553 Updated HEAD version.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@153296 13f79535-47bb-0310-9956-ffa450edef68
2005-02-10 21:57:11 +00:00
Robert Burrell Donkin
dc8bb733f2 Added subversion ignore for build.properties in optional
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@151750 13f79535-47bb-0310-9956-ffa450edef68
2005-02-07 20:42:52 +00:00
Robert Burrell Donkin
f87688012a Restricted warning message so that it is only displayed when the property has been set
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@151748 13f79535-47bb-0310-9956-ffa450edef68
2005-02-07 20:36:53 +00:00
Robert Burrell Donkin
399b77bf20 Fixed link to class in optional distribution
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@151637 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 23:21:34 +00:00
Robert Burrell Donkin
6a1b8dda67 Added sample properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@151635 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 23:04:59 +00:00
Robert Burrell Donkin
22cd970271 Ignore build.properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@151634 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 23:04:34 +00:00
Robert Burrell Donkin
09534c54b7 Fixes for mavenized build. Hopefully, this should allow javedocs to be deployed to the website.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@151633 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 23:02:34 +00:00
Robert Burrell Donkin
e9761b9eb2 Now rely on 3.8.1 junit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@151624 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 21:59:28 +00:00
Robert Burrell Donkin
e5dae08b4f Documentation for improved memory management and optional jar. Contributed by Brian Stansberry. Issue no 31286.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@151621 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 21:21:56 +00:00
Robert Burrell Donkin
5627a9fc8b Fixed bug in distribution build. Issue 33323. Contributed by Brian Stansberry.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@151619 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 19:44:27 +00:00
Dirk Verbeeck
3db62daeb7 Use SVN changelog
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@149180 13f79535-47bb-0310-9956-ffa450edef68
2005-01-30 23:02:28 +00:00
Robert Burrell Donkin
f3a8b5787e Fixed references to nagoya
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139063 13f79535-47bb-0310-9956-ffa450edef68
2005-01-01 20:53:19 +00:00
Robert Burrell Donkin
e7c56e483f Improved housekeeping and simplified code for WeakHashTable. Issue#31286. Submitted by Brian Stansberry.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139062 13f79535-47bb-0310-9956-ffa450edef68
2004-12-15 10:35:19 +00:00
Robert Burrell Donkin
b4e92dcb66 Class level documentation. Contributed by Brian Stansberry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139061 13f79535-47bb-0310-9956-ffa450edef68
2004-11-25 20:09:53 +00:00
Robert Burrell Donkin
00e49fe6cf Improved test cases for WeakHashMap classloading. Contributed by Brian Stansberry.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139060 13f79535-47bb-0310-9956-ffa450edef68
2004-11-22 22:50:51 +00:00
Robert Burrell Donkin
a78b72ab6d Improvements to WeakHashTable. Values are now held with hard references and a reference queue is polled during a purge. Contributed by Brian Stansberry.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139059 13f79535-47bb-0310-9956-ffa450edef68
2004-11-17 23:23:22 +00:00
Robert Burrell Donkin
00b2ab86bf Added code to purge entries who references have been collected. Test contributed by Brian Stansberry.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139058 13f79535-47bb-0310-9956-ffa450edef68
2004-11-11 22:31:05 +00:00
Robert Burrell Donkin
c24811762a Updated WeakHashtable so that the null handling symantics match the superclass. Unit test contributed by Brian Stansberry.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139057 13f79535-47bb-0310-9956-ffa450edef68
2004-11-11 21:43:43 +00:00
Robert Burrell Donkin
7a03f06584 LogFactory's Hashtable implementation (used to store LogFactoryImpl by classloader) can now be subclassed. This will default to WeakHashtable when this is present on the classpath, Hashtable otherwise. The implementation class can be specified by a system property. Based on a contribution by Brian Stansberry.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139056 13f79535-47bb-0310-9956-ffa450edef68
2004-11-10 23:00:47 +00:00
Robert Burrell Donkin
23e71e6d58 Added new optional subcomponent consisting of non-core implementations. Initial contents MemoryLog, a log implementation intended for use when unit testing. Issue #27663. Contributed by Joerg Schaible.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139055 13f79535-47bb-0310-9956-ffa450edef68
2004-11-04 23:03:59 +00:00
Robert Burrell Donkin
b30b048bb7 Workaround for Java 1.2.2 compiler bug. Issue #31818.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139054 13f79535-47bb-0310-9956-ffa450edef68
2004-10-31 17:53:48 +00:00
Craig R. McClanahan
697ba5c648 Remove the deprecated Log4JCategoryLog class, now that the trunk of Log4J
has finally removed the Category class.  In C-L, this has been deprecated
for a very long time, and is replaced (invisibly for most users) by
Log4JLogger.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139053 13f79535-47bb-0310-9956-ffa450edef68
2004-10-29 05:37:59 +00:00
Robert Burrell Donkin
433ad87cd1 Fix addressing null pointer when logging is loaded by boot classloader for JRE's that return a null classloader in this situtation. Issue #31710. Patch contributed by David Ferrero.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139052 13f79535-47bb-0310-9956-ffa450edef68
2004-10-17 09:14:10 +00:00
Robert Burrell Donkin
86b1ee0eab Improved test for log4j availability. Patch from issue #31597
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139051 13f79535-47bb-0310-9956-ffa450edef68
2004-10-17 09:02:48 +00:00
Peter A Royal Jr
7e6c9ff377 Avalon Logger was broken by Serialization changes 13 months ago. Fixing and made not Serializable
since it cannot be Serializable if a Logger is explicitly passed in.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139050 13f79535-47bb-0310-9956-ffa450edef68
2004-09-27 16:21:40 +00:00
Mark R. Diggory
77f3dd0e7c Adding postGoal to copy css stylesheets from commons-build when site is generated. Please maintain this modification for consistent look and feel across commons subprojects.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139049 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 15:38:47 +00:00
Robert Burrell Donkin
ffe0b5f03b Added links to release documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139048 13f79535-47bb-0310-9956-ffa450edef68
2004-06-16 08:57:23 +00:00
Robert Burrell Donkin
6d1337e968 Added 1.0.4 to list of releases
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139047 13f79535-47bb-0310-9956-ffa450edef68
2004-06-16 08:57:03 +00:00
Robert Burrell Donkin
987d756a43 Updated version number
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139046 13f79535-47bb-0310-9956-ffa450edef68
2004-06-16 08:56:40 +00:00
Robert Burrell Donkin
e0eb218b41 Changed wording so that it's suitable for release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139044 13f79535-47bb-0310-9956-ffa450edef68
2004-06-10 21:21:13 +00:00