1
0
Commit Graph

1241 Commits

Author SHA1 Message Date
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
Robert Burrell Donkin
7ff0fedc8d Fixed bad links in guide. Bug #29430 Thanks Tim :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139043 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 21:11:48 +00:00
Robert Burrell Donkin
c61bf4c76d Java doc improvements. Patch contributed by Dennis Lundberg.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139042 13f79535-47bb-0310-9956-ffa450edef68
2004-06-06 21:16:04 +00:00
Robert Burrell Donkin
5e61a0932e Java doc improvements. Patch contributed by Dennis Lundberg.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139041 13f79535-47bb-0310-9956-ffa450edef68
2004-06-06 20:47:56 +00:00
Robert Burrell Donkin
3c8b37fd6b Updated release notes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139039 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 20:39:50 +00:00
Robert Burrell Donkin
aff740f629 JavaDoc improvements
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139038 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 19:56:46 +00:00
Robert Burrell Donkin
1935991c3c Removed reports that aren't working very well at the momenet
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139037 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 19:56:02 +00:00
Robert Burrell Donkin
47caa63789 Improved organization and content of user guide
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139036 13f79535-47bb-0310-9956-ffa450edef68
2004-05-31 10:06:32 +00:00
Robert Burrell Donkin
943d0d602b Added notes about upcoming release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139035 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 10:41:51 +00:00
Robert Burrell Donkin
d907e01f34 Added navigation to logging wiki page
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139034 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 10:41:27 +00:00
Robert Burrell Donkin
ed0269ef72 New test case for simple log date time setting
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139033 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 10:32:25 +00:00
Robert Burrell Donkin
7e7bf1ad60 Removed unneccessary check introduced by myself.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139032 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 10:32:06 +00:00
Robert Burrell Donkin
4d10d0df0c Enhanced simple log so that the date and time can be set. Bugzilla issue #27528. Contributed by Dennis Lundberg.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139031 13f79535-47bb-0310-9956-ffa450edef68
2004-05-29 10:43:35 +00:00
Robert Burrell Donkin
f3152683ee Added optional tests for Log4JLogger against 1.2.x
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139030 13f79535-47bb-0310-9956-ffa450edef68
2004-05-19 21:02:10 +00:00
Robert Burrell Donkin
3a7e975403 Modifications required to ensure Log4JLogger works with both 1.2.x and 1.3 Log4J. Submitted by Ceki Gulcu.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139029 13f79535-47bb-0310-9956-ffa450edef68
2004-05-19 21:01:23 +00:00
Robert Burrell Donkin
d3ebabcd5d Altered test case so that it will work both with head and 1.2.x of Log4J.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139028 13f79535-47bb-0310-9956-ffa450edef68
2004-05-19 20:59:56 +00:00
Robert Burrell Donkin
444a6b2829 New test case which tests the executation of all the basic methods.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139027 13f79535-47bb-0310-9956-ffa450edef68
2004-05-19 20:58:52 +00:00
Mark R. Diggory
9abb63c9f5 Removed extend, migrated repository, Apache project metadata and adjusted build settings appropriately.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139026 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 19:58:06 +00:00
Mark R. Diggory
0c87efaf84 added missing build and report sections to subproject project.xml files, subprojects are responsible for generating the reports they want to have published and subproject define build parameters they require.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139025 13f79535-47bb-0310-9956-ffa450edef68
2004-04-06 17:39:33 +00:00
Craig R. McClanahan
0421b481aa Tweak the release notes to include the last enhancement.
Update version number to 1.0.4 in both build.xml and MANIFEST.MF (in the
original Ant based build mechanisms, we used to use filter replacement
so you only had to change this in one place; is there some technique to
regain that benefit that works with both Ant and Maven?).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139023 13f79535-47bb-0310-9956-ffa450edef68
2004-03-06 22:20:54 +00:00
Craig R. McClanahan
c69e5fd057 Enhance the error message produced when the isAssignableFrom() check
in getLogConstructor() fails.  If it is due to the fact that o.a.c.l.Log
is visible more than once (the typical cause), say this explicitly.

PR:  Bugzilla #25156.
Submitted by:  Ralf Hauser <hauser AT acm DOT org>


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139022 13f79535-47bb-0310-9956-ffa450edef68
2004-03-06 21:52:59 +00:00
Craig R. McClanahan
b7a766054f If an InvocationTargetException is thrown during the construction of a new
Log instance, unwrap it so that the message on the LogConfigurationException
identifies the actual cause of the problem.

PR:  Bugzilla #26598
Submitted By:  Brian Curnow <bcurnow AT gfs DOT com>


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139021 13f79535-47bb-0310-9956-ffa450edef68
2004-03-06 21:25:36 +00:00
Dirk Verbeeck
8cdc7ae4e4 remove usersguide.html to fix gump build
(patch from Antoine L�vy-Lambert)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139020 13f79535-47bb-0310-9956-ffa450edef68
2004-03-03 19:13:48 +00:00
Robert Burrell Donkin
13d4fa5cc5 Removed old userguide. It's now replaced with version generated by maven.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139019 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 21:49:49 +00:00
Robert Burrell Donkin
c350b20082 Changed build script so that the javadocs contain the license boilerplate and also that the NOTICE file is copied to the dist directory (as well as the LICENSE file).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139018 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 21:02:51 +00:00
Mark R. Diggory
b78be57e16 Switching to usage of menu's dtd to insert commons navigation items, using common-menus entity to reference commons menues in navigation.xml, sorting is done by Maven.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139017 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 03:27:47 +00:00
Craig R. McClanahan
a1b55ec925 Factor the actual writing out of log() into a new write() method so that
subclasses can easily specialize this function, without having to specialize
the creation of the message to be written.

PR:  Bugzilla #27135
Submitted by:  Aaron Hamid <arh14 at cornell.edu>


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139016 13f79535-47bb-0310-9956-ffa450edef68
2004-03-01 02:12:48 +00:00
Robert Burrell Donkin
bb88e1999b Added missing end tags. Contributed by Dennis Lundberg.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139015 13f79535-47bb-0310-9956-ffa450edef68
2004-02-29 09:37:37 +00:00
Robert Burrell Donkin
7930ee6520 Moved license below xml declaration. Contributed by Dennis Lundberg.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139014 13f79535-47bb-0310-9956-ffa450edef68
2004-02-29 09:37:09 +00:00
Craig R. McClanahan
af56b24b58 Update release notes for all the changes (so far) to be included in a
commons-logging 1.0.4 release.  Tweak documentation to reflect the
availability of two new Log implementations (Avalon Framework and
LumberJack).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139013 13f79535-47bb-0310-9956-ffa450edef68
2004-02-28 23:20:57 +00:00
Craig R. McClanahan
37c89a6d88 Make this implementation Serializable as well.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139012 13f79535-47bb-0310-9956-ffa450edef68
2004-02-28 23:05:01 +00:00
Craig R. McClanahan
538ee2bd6d Eliminate spurious second "-" character when showShortLogname=true.
PR:  Bugzilla #25940
Submitted by: Dennis Lundberg <dennis.lundberg at mdh.se>


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139011 13f79535-47bb-0310-9956-ffa450edef68
2004-02-28 23:00:57 +00:00
Craig R. McClanahan
d96e2a0af2 Clean up a Javadoc generation warning.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139010 13f79535-47bb-0310-9956-ffa450edef68
2004-02-28 22:16:16 +00:00