1
0
Commit Graph

845 Commits

Author SHA1 Message Date
Robert Burrell Donkin
6b8f983f0d Improved diagnostic message.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377234 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 20:20:03 +00:00
Robert Burrell Donkin
5106722c82 Improved diagnostic message.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377232 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 20:17:33 +00:00
Robert Burrell Donkin
42488ff8df Improved diagnostic message.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377231 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 20:15:17 +00:00
Robert Burrell Donkin
c68be0fed3 Added guards around diagnostic logging. Is unlikely to have much effect on real life performance but is good practice and should stop questions.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377229 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 20:01:28 +00:00
Robert Burrell Donkin
7c807d78c7 Added diagnostic logging for security exceptions.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377202 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 16:39:40 +00:00
Robert Burrell Donkin
5d1fcf3662 Added quotes to diagnostic messages.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377201 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 16:34:53 +00:00
Robert Burrell Donkin
a62f12925f Fix typo, changed some colons to dashes (colons overused) and added some quotes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377200 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 16:31:21 +00:00
Robert Burrell Donkin
4b315332db Print classloader details when the class loaded is incompatible. Added comment suggesting fix.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377199 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 16:28:32 +00:00
Robert Burrell Donkin
b765938bfe Added single quote around class name and corrected capitalization.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377198 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 16:20:29 +00:00
Robert Burrell Donkin
6f52ab12b1 Prefixed environmental diagnostic content with [ENV].
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377197 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 16:18:07 +00:00
Robert Burrell Donkin
5d48ac1008 Added instance OID to prefix for LogFactoryImpl. This allows cross-referencing to details such as the TCCL managed by the instance.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377196 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 16:09:43 +00:00
Robert Burrell Donkin
b86aad5988 Log hierarchy for TCCL.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377195 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 16:00:22 +00:00
Robert Burrell Donkin
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.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377194 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 15:41:38 +00:00
Robert Burrell Donkin
22aaea10a4 Factored hierarchical section of environmental diagnostic logging into separate method so that it can be reused.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377192 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 15:36:29 +00:00
Robert Burrell Donkin
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.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377189 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 15:07:32 +00:00
Robert Burrell Donkin
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.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377187 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 14:55:14 +00:00
Robert Burrell Donkin
d2fcbd4b36 Changed private method name to better reflect current purpose.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377186 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 14:53:40 +00:00
Robert Burrell Donkin
d1dcf8a3e2 Added single quotes to diagnostic class names to improve readability.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377185 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 14:51:36 +00:00
Robert Burrell Donkin
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.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377184 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 14:46:03 +00:00
Dennis Lundberg
db05d3c483 Correct RC number.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377182 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 14:36:15 +00:00
Robert Burrell Donkin
51a1fcbddd Added content prefixes for LogFactory bootstrap diagnostics. Also added message to indicate when the bootstrap has been completed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377152 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 11:12:11 +00:00
Robert Burrell Donkin
796501a41d Java documentation improvements: added notes about the value of the constants describes where they might be useful to a user.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377058 13f79535-47bb-0310-9956-ffa450edef68
2006-02-11 21:20:55 +00:00
Robert Burrell Donkin
2a67af6bfc Update to number RC4
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377017 13f79535-47bb-0310-9956-ffa450edef68
2006-02-11 19:14:22 +00:00
Robert Burrell Donkin
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.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@376454 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 22:16:12 +00:00
Simon Kitching
6a015667eb Fix problem where getResources method causes NoSuchMethodError on 1.1 JVMs,
due to lack of ClassLoader.getResources method. See bugzilla #37484.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@375866 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 05:46:03 +00:00
Robert Burrell Donkin
e79f98f343 Added release candidate version.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@375708 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 21:12:28 +00:00
Robert Burrell Donkin
78b3c9dcd4 Consolidated source and javadocs into single jar.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@375707 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 21:10:28 +00:00
Robert Burrell Donkin
f674577eb8 Added catch and retry using class classloader block. This should hopefully address the cases where the TCCL is not set reasonably.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@375696 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 20:48:02 +00:00
Robert Burrell Donkin
2178c14018 Adds index lists to jar files. Contributed by Boris Unckel. Issue #38499.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@375633 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 15:43:47 +00:00
Robert Burrell Donkin
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.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@375631 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 15:38:22 +00:00
Robert Burrell Donkin
dff78fa049 Updated version ready for next release candidate.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@375587 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 12:35:06 +00:00
Robert Burrell Donkin
a48c939fe4 Improved diagnostics
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@374538 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 22:56:55 +00:00
Dennis Lundberg
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.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@373312 13f79535-47bb-0310-9956-ffa450edef68
2006-01-29 14:51:18 +00:00
Dennis Lundberg
3d053f5969 Added a warning message that is shown if maven site:generate has not been run.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@372612 13f79535-47bb-0310-9956-ffa450edef68
2006-01-26 21:34:03 +00:00
Robert Burrell Donkin
8cf4bee745 Updated script so that target dist does not fail when maven site:generate has not been run.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@372608 13f79535-47bb-0310-9956-ffa450edef68
2006-01-26 21:03:05 +00:00
Robert Burrell Donkin
230500ea51 Improved exception message. This should allow users who add whitespace to easily see that they've made a mistake.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@372295 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 19:16:03 +00:00
Robert Burrell Donkin
8bb90f49e5 Added source and javadoc archives for IDEs to distribution build.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@372283 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 18:41:55 +00:00
Robert Burrell Donkin
7da8739683 Ignore new artifacts directory used by dist target. (Fix)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@372031 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 21:58:22 +00:00
Robert Burrell Donkin
f91440f870 Ignore new artifacts directory used by dist target.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@372030 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 21:57:44 +00:00
Robert Burrell Donkin
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.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@372020 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 21:09:51 +00:00
Robert Burrell Donkin
d9ec5870af Default target is now 'all' and target 'all' now runs the unit tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371978 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 18:46:20 +00:00
Robert Burrell Donkin
2628595a49 Removed javadoc target. Use maven for documentation including javadocs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371977 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 18:42:57 +00:00
Robert Burrell Donkin
a8ce53a7ea Removed properties used by the now-removed optional build.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371976 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 18:39:24 +00:00
Robert Burrell Donkin
c450bd645e Decided that it's better to include suffix for release candidates.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371968 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 17:59:37 +00:00
Robert Burrell Donkin
83c2a1f086 Removed links from contents to removed sections.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371967 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 17:55:07 +00:00
Henri Yandell
94c6d1efb3 fixing pmc from name to url
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371924 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 14:29:48 +00:00
Henri Yandell
52c28c8e52 Adding doap files for each component for the projects.apache.org site
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371566 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 16:12:55 +00:00
Simon Kitching
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.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371451 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 03:20:15 +00:00
Simon Kitching
f8d25b3b92 Update javadoc now that WeakHashtable is part of the standard distribution.
ServletContextCleaner is only a backup for odd corner cases.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371450 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 03:18:47 +00:00
Simon Kitching
a341992b05 Fix javadoc to remove references to "optional" jar, as this class is
now in the main distribution.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371448 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 03:10:45 +00:00