c68be0fed3
Added guards around diagnostic logging. Is unlikely to have much effect on real life performance but is good practice and should stop questions.
Robert Burrell Donkin2006-02-12 20:01:28 +00:00
a62f12925f
Fix typo, changed some colons to dashes (colons overused) and added some quotes.
Robert Burrell Donkin2006-02-12 16:31:21 +00:00
4b315332db
Print classloader details when the class loaded is incompatible. Added comment suggesting fix.
Robert Burrell Donkin2006-02-12 16:28:32 +00:00
b765938bfe
Added single quote around class name and corrected capitalization.
Robert Burrell Donkin2006-02-12 16:20:29 +00:00
5d48ac1008
Added instance OID to prefix for LogFactoryImpl. This allows cross-referencing to details such as the TCCL managed by the instance.
Robert Burrell Donkin2006-02-12 16:09:43 +00:00
42266eebbf
Prefixed all diagnostic content during LogFactory implementation discovery by [LOOKUP]. This should make it easier for users to link the content together when they analyse the logs.
Robert Burrell Donkin2006-02-12 15:41:38 +00:00
22aaea10a4
Factored hierarchical section of environmental diagnostic logging into separate method so that it can be reused.
Robert Burrell Donkin2006-02-12 15:36:29 +00:00
28cbe64b0e
Sun classloaders typically have very bad toString methods. Others (for example, IDM classloaders) output useful information. Added toString call which may be very useful in the latter case.
Robert Burrell Donkin2006-02-12 15:07:32 +00:00
cc01f0f023
A lot of colons are used in the diagnostic logs. Changed to use [INFO] in this case since it fits better with usage elsewhere.
Robert Burrell Donkin2006-02-12 14:55:14 +00:00
d1dcf8a3e2
Added single quotes to diagnostic class names to improve readability.
Robert Burrell Donkin2006-02-12 14:51:36 +00:00
621dd503a6
Consistent prefixes for diagnostics messages. Reduced length (to make more readable when used in container) by stripping package. Changed LogFactory to use OID for classloader.
Robert Burrell Donkin2006-02-12 14:46:03 +00:00
51a1fcbddd
Added content prefixes for LogFactory bootstrap diagnostics. Also added message to indicate when the bootstrap has been completed.
Robert Burrell Donkin2006-02-12 11:12:11 +00:00
796501a41d
Java documentation improvements: added notes about the value of the constants describes where they might be useful to a user.
Robert Burrell Donkin2006-02-11 21:20:55 +00:00
df4e6edb4a
Improved message issued when user specified log class cannot be loaded: when the name is close to that of one of the standard implementations, a hint is provided.
Robert Burrell Donkin2006-02-09 22:16:12 +00:00
6a015667eb
Fix problem where getResources method causes NoSuchMethodError on 1.1 JVMs, due to lack of ClassLoader.getResources method. See bugzilla #37484.
Simon Kitching2006-02-08 05:46:03 +00:00
f674577eb8
Added catch and retry using class classloader block. This should hopefully address the cases where the TCCL is not set reasonably.
Robert Burrell Donkin2006-02-07 20:48:02 +00:00
41863c3cc8
Please check this long addition carefully. Hopefully the in-code comments should describe the reasons for this change but I'll outline them here as well. ClassLoader#getParent can return null to indicate the bootstrap classloader. Sun's implementations do not but this behaviour might be encountered in other JVMs. I haven't been able to test this patch so please check this very carefully.
Robert Burrell Donkin2006-02-07 15:38:22 +00:00
e8b532f31e
Comment out some remains from the log4j 1.3 build. Add notes to put them back again if/when the build uses log4j 1.3.
Dennis Lundberg2006-01-29 14:51:18 +00:00
3d053f5969
Added a warning message that is shown if maven site:generate has not been run.
Dennis Lundberg2006-01-26 21:34:03 +00:00
8cf4bee745
Updated script so that target dist does not fail when maven site:generate has not been run.
Robert Burrell Donkin2006-01-26 21:03:05 +00:00
230500ea51
Improved exception message. This should allow users who add whitespace to easily see that they've made a mistake.
Robert Burrell Donkin2006-01-25 19:16:03 +00:00
8bb90f49e5
Added source and javadoc archives for IDEs to distribution build.
Robert Burrell Donkin2006-01-25 18:41:55 +00:00
d3d86061ae
Updated dist method to reflect modern practice. Added optional isolated compilation for releases (requires a pre-1.4 JVM to run the ant tasks and the executable.javac1.4 build property to be set). Artifacts are built in new subdirectory with file ending standardisation. Ant lacks a svn task so will consider whether the source artifacts should also be created by dist.
Robert Burrell Donkin2006-01-24 21:09:51 +00:00
d9ec5870af
Default target is now 'all' and target 'all' now runs the unit tests.
Robert Burrell Donkin2006-01-24 18:46:20 +00:00
2628595a49
Removed javadoc target. Use maven for documentation including javadocs.
Robert Burrell Donkin2006-01-24 18:42:57 +00:00
52c28c8e52
Adding doap files for each component for the projects.apache.org site
Henri Yandell2006-01-23 16:12:55 +00:00
30be33c7a5
Exclude LogFactoryImpl from adapters jar; it doesn't do any harm but will never be used as the default implementation is always loaded via the LogFactory classloader.
Simon Kitching2006-01-23 03:20:15 +00:00
f8d25b3b92
Update javadoc now that WeakHashtable is part of the standard distribution. ServletContextCleaner is only a backup for odd corner cases.
Simon Kitching2006-01-23 03:18:47 +00:00
a341992b05
Fix javadoc to remove references to "optional" jar, as this class is now in the main distribution.
Simon Kitching2006-01-23 03:10:45 +00:00
4c4c1fcd82
Turn previous releases into menus instead of menu items. Add menu item for current JavaDocs. Use consistent naming for JavaDocs.
Dennis Lundberg2006-01-22 10:13:33 +00:00
3c9f283108
Add 1.1 release to list of available releases.
Simon Kitching2006-01-22 08:49:36 +00:00
7cd384f042
Move FAQ entries to wiki. Minor grammar/spelling fixes.
Simon Kitching2006-01-22 08:33:16 +00:00
d102883962
Add info about new commons-logging-adapters jar Remove info about non-existent optional jar Update info about commons-logging-api jar
Simon Kitching2006-01-22 08:13:27 +00:00
fb7a703424
Add more info on commons-logging-adapters.jar file.
Simon Kitching2006-01-22 08:07:54 +00:00
ecd9a70bf4
Add info about use of commons-logging.properties, including new "priority" feature. Document problems with Use of static log members in library code.
Simon Kitching2006-01-22 07:29:54 +00:00
c7d566cf10
Add section for 1.1 release. Other minor updates.
Simon Kitching2006-01-22 06:56:46 +00:00
7b1c2b0aac
Add explicit dependency on required maven xdoc plugin version. Thanks to Niall Pemberton for the info.
Simon Kitching2006-01-22 06:22:42 +00:00
c0c647127d
Exclude jdk14 logger from api jar Include WeakHashtable in api jar Make ant dependencies used in build be the same as those in the maven project.xml file.
Simon Kitching2006-01-22 01:47:01 +00:00
51fc944f7b
Add improved Source repository and Issue tracking documentation. Issue #38344. Thanks to Rahul Akolkar.
Dennis Lundberg2006-01-21 20:10:41 +00:00
80fba3b101
Eliminate javadoc warnings and errors. Issue #38344. Thanks to Rahul Akolkar.
Dennis Lundberg2006-01-21 19:39:46 +00:00
210d81aa0c
Copy the release notes during site build and add a link to it in the menu.
Dennis Lundberg2006-01-21 19:33:32 +00:00
df40010452
Added a note about the reason for this change. Might be useful to those that come after us...
Robert Burrell Donkin2006-01-21 17:19:05 +00:00
e628a3c9eb
Remove info about log4j 1.3, now that news has been received that it might not be incompatible after all. Remove deprecation info about class that has actually been removed.
Simon Kitching2006-01-20 10:21:26 +00:00
8ba8c0f9ef
Fix for java1.2: in that version, Boolean.valueOf(str) returns a new instance each time, not one of Boolean.TRUE or Boolean.FALSE!
Simon Kitching2006-01-20 07:45:22 +00:00
ced5aa9dc7
Add unit tests for ServletContextCleaner class.
Simon Kitching2006-01-20 05:54:27 +00:00
d7d7ac9454
Expose servletapi.jar as a "logical lib" for unit tests
Simon Kitching2006-01-20 05:53:20 +00:00
c33312acd5
Add info about removal of deprecated classes.
Simon Kitching2006-01-20 03:45:27 +00:00
fe23e42c56
Add 2-param version of newFactory method for backwards compatibility. As described in the javadoc, it could only ever be invoked by a very weird custom subclass of LogFactory but it was technically an incompatibility so it's now fixed.
Simon Kitching2006-01-20 03:38:04 +00:00
56d0123465
Fixes for javadoc building. Add build instructions.
Simon Kitching2006-01-20 02:40:39 +00:00
3c35ab5a60
Tweaks to use libs downloaded via newish "ant getlibs" target.
Simon Kitching2006-01-20 02:39:24 +00:00
7b26b353f7
Fixed javadoc warnings: @param did not match real param name.
Simon Kitching2006-01-20 02:29:48 +00:00
2812c29024
Remove WeakHashtable classes from the commons-logging-adapters jarfile.
Simon Kitching2006-01-20 00:39:11 +00:00
056497f88a
Added Brian Stansberry to developers list, as he did much work on 1.1 release and is officially a committer but isn't around to add himself right now.
Simon Kitching2006-01-19 23:57:04 +00:00