a843d5dbc0
Build commons-logging-adapters.jar from maven build.
Simon Kitching
2005-06-16 04:10:24 +00:00
9ecd27bf48
Fixed copy-and-paste error in getConfigurationValue when getting from system property. Thanks to Brian Stansberry for spotting this.
Simon Kitching
2005-06-14 11:09:44 +00:00
b35e8d3b53
Avoid wrapping exception - patch by Brian Stansberry
Simon Kitching
2005-06-14 10:23:08 +00:00
a3f8e5302a
Merge in the allow-flawed branch, as there were no objections.
Simon Kitching
2005-06-14 10:03:48 +00:00
ca0188c41e
Fix bug introduced by recent changes. Thanks to Brian Stansberry for the patch.
Simon Kitching
2005-06-06 10:33:37 +00:00
17c6d98369
Remove ugly LOG_INTERFACE string and weird log-class-lookup code from within the reportInvalidLogAdapter method.
Simon Kitching
2005-06-02 10:28:35 +00:00
eb93a324e4
Clean up LoadTest testcase and include in standard test suite.
Simon Kitching
2005-06-02 09:12:24 +00:00
d71598bd0f
Exclude package.html files from the jar files.
Simon Kitching
2005-06-02 08:35:54 +00:00
ac7a0f8505
Changed createLogFromClass method to return null on recoverable failure, and only throw an exception on unrecoverable failure. This simplifies the code a fair bit.
Simon Kitching
2005-06-02 07:39:39 +00:00
5c06195efb
Ensure an ExceptionInInitializerError occurs when trying to create an instance of these classes in pre-1.4 JVMs. Without this, an InvocationTargetException could be thrown when calling the constructor but that could also be caused by a number of other reasons which we don't want to ignore.
Simon Kitching
2005-06-02 06:31:52 +00:00
df0d0ed341
Ensure class files generated are compatible with 1.1 JVMs (although we only support 1.2+ at the moment).
Simon Kitching
2005-06-02 05:05:18 +00:00
15956fee82
Change to discovery process: testing whether various logging libraries are available is now done by trying to actually create an instance.
Simon Kitching
2005-06-02 04:09:16 +00:00
195ac37a76
Add better reporting when jdk14 handler setup isn't right.
Simon Kitching
2005-05-23 01:41:23 +00:00
75c8135c03
Fix javadoc and fix java1.5 compile warnings.
Simon Kitching
2005-05-23 01:04:54 +00:00
a408e51f46
Ensure class file format is compatible with JVM 1.1
Simon Kitching
2005-05-23 01:02:02 +00:00
a04edd5ec6
Updated obsolete goal java:jar to jar:jar Removed obsolete exclude of CVS subdirs
Simon Kitching
2005-05-23 01:01:36 +00:00
110f2a234b
Added internal diagnostics
Simon Kitching
2005-05-22 10:43:52 +00:00
c485c20b1e
Added internal diagnostics
Simon Kitching
2005-05-22 10:43:06 +00:00
cbfc01a0ab
Fixed bug in demonstration. Spotted by Simon Kitching.
Robert Burrell Donkin
2005-05-19 20:42:12 +00:00
cb2ddfd9cc
Improved demonstration build by automatically cleaning. Contributed by Ceki Gülcü.
Robert Burrell Donkin
2005-05-18 21:15:14 +00:00
c1f16b5d2a
Just moved some code out of method getLogConstructor into its own method reportInvalidLogAdapter to make code easier to read (esp. as I'm going to add more code to this method later).
Simon Kitching
2005-05-17 04:27:57 +00:00
e985f2a051
Minor AccessController-related tidyups: * Use static initialiser block to initialise factories rather than variable initialiser. * Add static member thisClassLoader to cache classloader for the LogFactory class; change all calls to LogFactory.class.getClassLoader() to just use thisClassLoader. * Change getContextClassLoader to always use AccessController (actually, rename getContextClassLoader to directGetContextClassLoader, and make getContextClassLoader a wrapper around that). * define a method getClassLoader(clazz) that just does clazz.getClassLoader for now; change all calls to clazz.getClassLoader into getClassLoader(clazz)
Simon Kitching
2005-05-17 01:43:32 +00:00
0a54560d5c
oops .. should have added myself to the developers list before doing any commits.
Simon Kitching
2005-05-16 11:41:35 +00:00
851f7c5f33
Simple rearrangement of code only; no functionality change (though the diffs don't show that clearly). Turned a complicated anonymous class declaration into a simple anonymous class that calls a method on LogFactory containing all the code previously within the anonymous class declaration.
Simon Kitching
2005-05-16 10:41:44 +00:00
3200e8aa2e
Add test case for situation where context classloader is null.
Simon Kitching
2005-05-10 00:47:03 +00:00
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.
Simon Kitching
2005-05-10 00:45:18 +00:00
b6b750fc9c
Added note about new, improved terminology coined by Mike Colbert.
Robert Burrell Donkin
2005-05-04 19:29:01 +00:00
9ad236575b
Corrected mistake in analysis. Thanks to Brian Stansberry.
Robert Burrell Donkin
2005-04-25 20:37:28 +00:00
d452378887
Changed site URL to minotaur
Robert Burrell Donkin
2005-04-17 19:49:26 +00:00
b744f1e38e
Improvements to the tech guide. Contributed by Brian Stansberry. Issue#34412.
Robert Burrell Donkin
2005-04-17 19:31:59 +00:00
6133566a84
Added link to ceki's document
Robert Burrell Donkin
2005-03-27 08:53:34 +00:00
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.
Robert Burrell Donkin
2005-03-26 15:16:28 +00:00
80ed7615b6
Added tech guide. This provides introductions to subjects such as classloading for expert users and developers.
Robert Burrell Donkin
2005-03-13 16:21:42 +00:00
0721445959
Fixed innaccurate catch. Should catch all throwables to ensure graceful failure.
Robert Burrell Donkin
2005-03-10 21:55:38 +00:00
23df003ef1
Improved javadocs for WeakHashTable. More readable explaination contributed by Simon Kitching.
Robert Burrell Donkin
2005-03-09 21:13:21 +00:00
01f84f3a7c
Added link to download location
Robert Burrell Donkin
2005-03-06 19:40:23 +00:00
6970b4e249
Updated status of 1.0.5 release
Robert Burrell Donkin
2005-03-06 19:28:37 +00:00
267f507d8c
convert .cvsignore to svn:ignore
Dirk Verbeeck
2005-02-26 13:45:11 +00:00
d746ff0810
Added Log4JCategory into optional distribution
Robert Burrell Donkin
2005-02-12 19:21:29 +00:00
dc14a8cfcc
Added overview for optional
Robert Burrell Donkin
2005-02-12 15:56:51 +00:00
769564ac45
Reverted some changes which broke backwards compatibility
Robert Burrell Donkin
2005-02-12 14:56:21 +00:00
15ee1ee573
Added details of released versions
Robert Burrell Donkin
2005-02-12 14:27:27 +00:00
6e2408d553
Updated HEAD version.
Robert Burrell Donkin
2005-02-10 21:57:11 +00:00
dc8bb733f2
Added subversion ignore for build.properties in optional
Robert Burrell Donkin
2005-02-07 20:42:52 +00:00
f87688012a
Restricted warning message so that it is only displayed when the property has been set
Robert Burrell Donkin
2005-02-07 20:36:53 +00:00
399b77bf20
Fixed link to class in optional distribution
Robert Burrell Donkin
2005-02-06 23:21:34 +00:00
6a1b8dda67
Added sample properties
Robert Burrell Donkin
2005-02-06 23:04:59 +00:00
22cd970271
Ignore build.properties
Robert Burrell Donkin
2005-02-06 23:04:34 +00:00
09534c54b7
Fixes for mavenized build. Hopefully, this should allow javedocs to be deployed to the website.
Robert Burrell Donkin
2005-02-06 23:02:34 +00:00
e9761b9eb2
Now rely on 3.8.1 junit
Robert Burrell Donkin
2005-02-06 21:59:28 +00:00
e5dae08b4f
Documentation for improved memory management and optional jar. Contributed by Brian Stansberry. Issue no 31286.
Robert Burrell Donkin
2005-02-06 21:21:56 +00:00
5627a9fc8b
Fixed bug in distribution build. Issue 33323. Contributed by Brian Stansberry.
Robert Burrell Donkin
2005-02-06 19:44:27 +00:00
3db62daeb7
Use SVN changelog
Dirk Verbeeck
2005-01-30 23:02:28 +00:00
f3a8b5787e
Fixed references to nagoya
Robert Burrell Donkin
2005-01-01 20:53:19 +00:00
e7c56e483f
Improved housekeeping and simplified code for WeakHashTable. Issue#31286. Submitted by Brian Stansberry.
Robert Burrell Donkin
2004-12-15 10:35:19 +00:00
b4e92dcb66
Class level documentation. Contributed by Brian Stansberry
Robert Burrell Donkin
2004-11-25 20:09:53 +00:00
00e49fe6cf
Improved test cases for WeakHashMap classloading. Contributed by Brian Stansberry.
Robert Burrell Donkin
2004-11-22 22:50:51 +00:00
a78b72ab6d
Improvements to WeakHashTable. Values are now held with hard references and a reference queue is polled during a purge. Contributed by Brian Stansberry.
Robert Burrell Donkin
2004-11-17 23:23:22 +00:00
00b2ab86bf
Added code to purge entries who references have been collected. Test contributed by Brian Stansberry.
Robert Burrell Donkin
2004-11-11 22:31:05 +00:00
c24811762a
Updated WeakHashtable so that the null handling symantics match the superclass. Unit test contributed by Brian Stansberry.
Robert Burrell Donkin
2004-11-11 21:43:43 +00:00
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.
Robert Burrell Donkin
2004-11-10 23:00:47 +00:00
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.
Robert Burrell Donkin
2004-11-04 23:03:59 +00:00
b30b048bb7
Workaround for Java 1.2.2 compiler bug. Issue #31818.
Robert Burrell Donkin
2004-10-31 17:53:48 +00:00
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.
Craig R. McClanahan
2004-10-29 05:37:59 +00:00
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.
Robert Burrell Donkin
2004-10-17 09:14:10 +00:00
86b1ee0eab
Improved test for log4j availability. Patch from issue #31597
Robert Burrell Donkin
2004-10-17 09:02:48 +00:00
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.
Peter A Royal Jr
2004-09-27 16:21:40 +00:00
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.
Mark R. Diggory
2004-08-17 15:38:47 +00:00
ffe0b5f03b
Added links to release documentation
Robert Burrell Donkin
2004-06-16 08:57:23 +00:00
6d1337e968
Added 1.0.4 to list of releases
Robert Burrell Donkin
2004-06-16 08:57:03 +00:00
987d756a43
Updated version number
Robert Burrell Donkin
2004-06-16 08:56:40 +00:00
e0eb218b41
Changed wording so that it's suitable for release.
Robert Burrell Donkin
2004-06-10 21:21:13 +00:00
7ff0fedc8d
Fixed bad links in guide. Bug #29430 Thanks Tim :)
Robert Burrell Donkin
2004-06-07 21:11:48 +00:00
c61bf4c76d
Java doc improvements. Patch contributed by Dennis Lundberg.
Robert Burrell Donkin
2004-06-06 21:16:04 +00:00
5e61a0932e
Java doc improvements. Patch contributed by Dennis Lundberg.
Robert Burrell Donkin
2004-06-06 20:47:56 +00:00
3c8b37fd6b
Updated release notes
Robert Burrell Donkin
2004-06-01 20:39:50 +00:00
aff740f629
JavaDoc improvements
Robert Burrell Donkin
2004-06-01 19:56:46 +00:00
1935991c3c
Removed reports that aren't working very well at the momenet
Robert Burrell Donkin
2004-06-01 19:56:02 +00:00
47caa63789
Improved organization and content of user guide
Robert Burrell Donkin
2004-05-31 10:06:32 +00:00
943d0d602b
Added notes about upcoming release.
Robert Burrell Donkin
2004-05-30 10:41:51 +00:00
d907e01f34
Added navigation to logging wiki page
Robert Burrell Donkin
2004-05-30 10:41:27 +00:00
ed0269ef72
New test case for simple log date time setting
Robert Burrell Donkin
2004-05-30 10:32:25 +00:00
7e7bf1ad60
Removed unneccessary check introduced by myself.
Robert Burrell Donkin
2004-05-30 10:32:06 +00:00
4d10d0df0c
Enhanced simple log so that the date and time can be set. Bugzilla issue #27528. Contributed by Dennis Lundberg.
Robert Burrell Donkin
2004-05-29 10:43:35 +00:00
f3152683ee
Added optional tests for Log4JLogger against 1.2.x
Robert Burrell Donkin
2004-05-19 21:02:10 +00:00
3a7e975403
Modifications required to ensure Log4JLogger works with both 1.2.x and 1.3 Log4J. Submitted by Ceki Gulcu.
Robert Burrell Donkin
2004-05-19 21:01:23 +00:00
d3ebabcd5d
Altered test case so that it will work both with head and 1.2.x of Log4J.
Robert Burrell Donkin
2004-05-19 20:59:56 +00:00
444a6b2829
New test case which tests the executation of all the basic methods.
Robert Burrell Donkin
2004-05-19 20:58:52 +00:00
9abb63c9f5
Removed extend, migrated repository, Apache project metadata and adjusted build settings appropriately.
Mark R. Diggory
2004-04-09 19:58:06 +00:00
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.
Mark R. Diggory
2004-04-06 17:39:33 +00:00
0421b481aa
Tweak the release notes to include the last enhancement.
Craig R. McClanahan
2004-03-06 22:20:54 +00:00
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.
Craig R. McClanahan
2004-03-06 21:52:59 +00:00
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.
Craig R. McClanahan
2004-03-06 21:25:36 +00:00
8cdc7ae4e4
remove usersguide.html to fix gump build (patch from Antoine L�vy-Lambert)
Dirk Verbeeck
2004-03-03 19:13:48 +00:00
13d4fa5cc5
Removed old userguide. It's now replaced with version generated by maven.
Robert Burrell Donkin
2004-03-02 21:49:49 +00:00
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).
Robert Burrell Donkin
2004-03-02 21:02:51 +00:00
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.
Mark R. Diggory
2004-03-02 03:27:47 +00:00